Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
Show ExtensionDescription Source # | |
Defined in Network.WebSockets.Extensions.Description showsPrec :: Int -> ExtensionDescription -> ShowS # show :: ExtensionDescription -> String # showList :: [ExtensionDescription] -> ShowS # | |
Eq ExtensionDescription Source # | |
Defined in Network.WebSockets.Extensions.Description (==) :: ExtensionDescription -> ExtensionDescription -> Bool # (/=) :: ExtensionDescription -> ExtensionDescription -> Bool # |
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.