In websocket.gleam there's apply_inflate but it's calling compression.deflate() instead of compression.inflate():
pub fn apply_inflate(data: BitArray, context: Option(Context)) -> BitArray {
case context {
Some(context) -> compression.deflate(context, data)
_ -> data
}
}