Mint.WebSocket.Extension.name
You're seeing just the callback
name
, go back to Mint.WebSocket.Extension module for more information.
Specs
name() :: String.t()
Returns the name of the WebSocket extension
This should not include the parameters for the extension, such as "client_max_window_bits" for the "permessage-deflate" extension.
Examples
iex> Mint.WebSocket.PerMessageDeflate.name()
"permessage-deflate"