Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. Request :: RequestHead -> ByteString -> Request

    websockets Network.WebSockets

    No documentation available.

  2. data RequestHead

    websockets Network.WebSockets

    An HTTP request. The request body is not yet read.

  3. RequestHead :: ByteString -> Headers -> Bool -> RequestHead

    websockets Network.WebSockets

    No documentation available.

  4. RequestRejected :: RequestHead -> ResponseHead -> HandshakeException

    websockets Network.WebSockets

    The request was well-formed, but the library user rejected it. (e.g. "unknown path")

  5. acceptRequest :: PendingConnection -> IO Connection

    websockets Network.WebSockets

    Accept a pending connection, turning it into a Connection.

  6. acceptRequestWith :: PendingConnection -> AcceptRequest -> IO Connection

    websockets Network.WebSockets

    This function is like acceptRequest but allows you to set custom options using the AcceptRequest datatype.

  7. defaultAcceptRequest :: AcceptRequest

    websockets Network.WebSockets

    No documentation available.

  8. defaultRejectRequest :: RejectRequest

    websockets Network.WebSockets

    No documentation available.

  9. getRequestSubprotocols :: RequestHead -> [ByteString]

    websockets Network.WebSockets

    List of subprotocols specified by the client, in order of preference. If the client did not specify a list of subprotocols, this will be the empty list.

  10. pendingRequest :: PendingConnection -> RequestHead

    websockets Network.WebSockets

    Useful for e.g. inspecting the request path.

Page 248 of many | Previous | Next