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.

  1. data RequestHead

    websockets Network.WebSockets

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

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

    websockets Network.WebSockets

    No documentation available.

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

    websockets Network.WebSockets

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

  4. acceptRequest :: PendingConnection -> IO Connection

    websockets Network.WebSockets

    Accept a pending connection, turning it into a Connection.

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

    websockets Network.WebSockets

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

  6. defaultAcceptRequest :: AcceptRequest

    websockets Network.WebSockets

    No documentation available.

  7. defaultRejectRequest :: RejectRequest

    websockets Network.WebSockets

    No documentation available.

  8. 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.

  9. pendingRequest :: PendingConnection -> RequestHead

    websockets Network.WebSockets

    Useful for e.g. inspecting the request path.

  10. rejectRequest :: PendingConnection -> ByteString -> IO ()

    websockets Network.WebSockets

    Requires calling pendingStream and close.

Page 248 of many | Previous | Next