Request

Request :: URI -> RequestMethod -> [Header] -> a -> Request a
HTTP Network.HTTP.Base
data Request a
HTTP Network.HTTP.Base
An HTTP Request. The Show instance of this type is used for message serialisation, which means no body data is output.
type Request_String = Request String
HTTP Network.HTTP.Base
type RequestData = (RequestMethod, URI, [Header])
HTTP Network.HTTP.Base
RequestData contains the head of a HTTP request; method, its URL along with the auxillary/supporting header data.
type RequestID = Int
HTTP Network.Browser
data RequestMethod
HTTP Network.HTTP.Base
The HTTP request method, to be used in the Request object. We are missing a few of the stranger methods, but these are not really necessary until we add full TLS.
type RequestNormalizer ty = NormalizeRequestOptions ty -> Request ty -> Request ty
HTTP Network.HTTP.Base
RequestNormalizer is the shape of a (pure) function that rewrites a request into some normalized form.
RequestSent :: BrowserEventType
HTTP Network.Browser
request :: HStream ty => Request ty -> BrowserAction (HandleStream ty) (URI, Response ty)
HTTP Network.Browser
request httpRequest tries to submit the Request httpRequest to some HTTP server (possibly going via a proxy, see setProxy.) Upon successful delivery, the URL Response itself.
requestAccept :: MonadCGI m => m (Maybe (Accept ContentType))
cgi Network.CGI
requestAcceptCharset :: MonadCGI m => m (Maybe (Accept Charset))
cgi Network.CGI
requestAcceptEncoding :: MonadCGI m => m (Maybe (Accept ContentEncoding))
cgi Network.CGI
requestAcceptLanguage :: MonadCGI m => m (Maybe (Accept Language))
cgi Network.CGI
requestContentLength :: MonadCGI m => m (Maybe Int)
cgi Network.CGI
For queries which have attached information, such as HTTP POST and PUT, this is the length of the content given by the client.
requestContentType :: MonadCGI m => m (Maybe String)
cgi Network.CGI
For queries which have attached information, such as HTTP POST and PUT, this is the content type of the data. You can use parseContentType to get a structured representation of the the content-type value.
requestHeader :: MonadCGI m => String -> m (Maybe String)
cgi Network.CGI
Gets the value of the request header with the given name. The header name is case-insensitive. Example: > requestHeader "User-Agent"
requestMethod :: MonadCGI m => m String
cgi Network.CGI
The method with which the request was made. For HTTP, this is "GET", "HEAD", "POST", etc.
requestURI :: MonadCGI m => m URI
cgi Network.CGI
Attempts to reconstruct the absolute URI requested by the client, including extra path information and query parameters. If no request URI rewriting is done, or if the web server does not provide the information needed to reconstruct the request URI, this function returns the same value as queryURI. Characters in the components of the returned URI are escaped when needed, as required by Network.URI.
browserRequestID :: BrowserEvent -> RequestID
HTTP Network.Browser
browserRequestURI :: BrowserEvent -> String
HTTP Network.Browser

Show more results