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.
reqToken :: YesodRequest -> !Maybe Textyesod-core Yesod.Core.Types A random, session-specific token used to prevent CSRF attacks.
reqWaiRequest :: YesodRequest -> !Requestyesod-core Yesod.Core.Types No documentation available.
-
websockets Network.WebSockets 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 No documentation available.
CloseRequest :: Word16 -> ByteString -> ConnectionExceptionwebsockets Network.WebSockets The peer has requested that the connection be closed, and included a close code and a reason for closing. When receiving this exception, no more messages can be sent. Also, the server is responsible for closing the TCP connection once this exception is received. See http://tools.ietf.org/html/rfc6455#section-7.4 for a list of close codes.
MalformedRequest :: RequestHead -> String -> HandshakeExceptionwebsockets Network.WebSockets The request was somehow invalid (missing headers or wrong security token)
-
websockets Network.WebSockets 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 No documentation available.
-
websockets Network.WebSockets A request with a body
Request :: RequestHead -> ByteString -> Requestwebsockets Network.WebSockets No documentation available.