InternetLib

reqURI, reqHdrs, et al

HTTP related types

Types

reqURI :: HttpRequest a -> a
reqHdrs :: HttpRequest a -> HttpHeaders
reqMethod :: HttpRequest a -> HttpMethod
respBody :: HttpResponse -> String
respCode :: HttpResponse -> Int
respHdrs :: HttpResponse -> HttpHeaders
respMsg :: HttpResponse -> String

Descriptions

Functions to access the fields of HTTP requests and responses.

See Also

The types HttpRequest and HttpResponse.


InternetLib