Module
Node.HTTP
- Package
- purescript-node-http
- Repository
- purescript-node/purescript-node-http
This module defines low-level bindings to the Node HTTP module.
#httpVersion Source
httpVersion :: Request -> String
Get the request HTTP version
#requestMethod Source
requestMethod :: Request -> String
Get the request method (GET, POST, etc.)
#requestURL Source
requestURL :: Request -> String
Get the request URL
#requestAsStream Source
requestAsStream :: forall eff. Request -> Readable () (http :: HTTP | eff)
Coerce the request object into a readable stream.