Safe Haskell | None |
---|---|
Language | Haskell98 |
Synopsis
- data ExtensionDescription = ExtensionDescription {
- extName :: !ByteString
- extParams :: ![ExtensionParam]
- type ExtensionDescriptions = [ExtensionDescription]
- parseExtensionDescriptions :: ByteString -> Either String ExtensionDescriptions
- type NegotiateExtension = ExtensionDescriptions -> Either String Extension
- data Extension = Extension {}
Documentation
data ExtensionDescription Source #
ExtensionDescription | |
|
Instances
Eq ExtensionDescription Source # | |
Defined in Network.WebSockets.Extensions.Description (==) :: ExtensionDescription -> ExtensionDescription -> Bool # (/=) :: ExtensionDescription -> ExtensionDescription -> Bool # | |
Show ExtensionDescription Source # | |
Defined in Network.WebSockets.Extensions.Description showsPrec :: Int -> ExtensionDescription -> ShowS # show :: ExtensionDescription -> String # showList :: [ExtensionDescription] -> ShowS # |
type ExtensionDescriptions = [ExtensionDescription] Source #
An extension is currently allowed to set extra headers and transform the
parse/write functions of Connection
.
This type is very likely to change as other extensions are introduced.