Module
Hyper.Request
- Package
- purescript-hyper
- Repository
- owickstrom/hyper
#Request Source
class Request req m where
Members
getRequestData :: forall c res. Middleware m (Conn req res c) (Conn req res c) RequestData
#BaseRequest Source
class (Request req m) <= BaseRequest req m
#ReadableBody Source
class ReadableBody req m b where
A ReadableBody
instance reads the complete request body as a
value of type b
. For streaming the request body, see the
StreamableBody class.
Members
readBody :: forall c res. Middleware m (Conn req res c) (Conn req res c) b
#StreamableBody Source
class StreamableBody req m stream | req -> stream where
A StreamableBody
instance returns a stream of the request body,
of type stream
. To read the whole body as a value, without
streaming, see the ReadableBody class.
Members
streamBody :: forall c res. Middleware m (Conn req res c) (Conn req res c) stream
- Modules
- Hyper.
Authentication - Hyper.
Authorization - Hyper.
Conn - Hyper.
ContentNegotiation - Hyper.
Cookies - Hyper.
Form - Hyper.
Form. Urlencoded - Hyper.
Header - Hyper.
Middleware - Hyper.
Middleware. Class - Hyper.
Middleware. QualifiedDo - Hyper.
Node. BasicAuth - Hyper.
Node. FileServer - Hyper.
Node. Server - Hyper.
Node. Server. Options - Hyper.
Node. Session. InMemory - Hyper.
Node. Test - Hyper.
Request - Hyper.
Response - Hyper.
Session - Hyper.
Status - Hyper.
Test. TestServer