Hoogle Search
Within LTS Haskell 24.50 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
rejectRequestWith :: PendingConnection -> RejectRequest -> IO ()websockets Network.WebSockets No documentation available.
requestHeaders :: RequestHead -> Headerswebsockets Network.WebSockets No documentation available.
requestPath :: RequestHead -> !ByteStringwebsockets Network.WebSockets No documentation available.
requestSecure :: RequestHead -> Boolwebsockets Network.WebSockets No documentation available.
createRequest :: Protocol -> ByteString -> ByteString -> Bool -> Headers -> IO RequestHeadwebsockets Network.WebSockets.Client No documentation available.
-
websockets Network.WebSockets.Connection This datatype allows you to set options for acceptRequestWith. It is strongly recommended to use defaultAcceptRequest and then modify the various fields, that way new fields introduced in the library do not break your code.
AcceptRequest :: !Maybe ByteString -> Headers -> AcceptRequestwebsockets Network.WebSockets.Connection No documentation available.
-
websockets Network.WebSockets.Connection Parameters that allow you to tweak how a request is rejected. Please use defaultRejectRequest and modify fields using record syntax so your code will not break when new fields are added.
RejectRequest :: Int -> ByteString -> Headers -> ByteString -> RejectRequestwebsockets Network.WebSockets.Connection No documentation available.
acceptRequest :: PendingConnection -> IO Connectionwebsockets Network.WebSockets.Connection Accept a pending connection, turning it into a Connection.