Documentation
type HttpBody = ByteStringSource
type HttpMethod = RequestMethodSource
type HttpReason = StringSource
type HttpHeaderName = HeaderNameSource
type HttpHeaderValue = StringSource
type HttpHeader = (HttpHeaderName, String)Source
type HttpHeaders = [HttpHeader]Source
type HttpParamName = StringSource
type HttpParamValue = StringSource
type HttpParams = [(HttpParamName, HttpParamValue)]Source
httpData :: a -> HttpDataSource
httpSetData :: a -> HttpData -> aSource
httpHeaders :: a -> HttpHeadersSource
httpBody :: a -> HttpBodySource
httpGetHeader :: HttpHeaderName -> a -> Maybe HttpHeaderValueSource
httpHasHeader :: HttpHeaderName -> a -> BoolSource
httpSetBody :: HttpBody -> a -> aSource
httpSetHeaders :: HttpHeaders -> a -> aSource
httpSetHeader :: HttpHeaderName -> HttpHeaderValue -> a -> aSource
class IsHttp a => IsReq a whereSource
reqMethod :: a -> HttpMethodSource
reqSetMethod :: HttpMethod -> a -> aSource
reqSetUrl :: HttpUrl -> a -> aSource
reqUrlPath :: a -> HttpPathSource
reqSetUrlPath :: HttpPath -> a -> aSource
reqAppendUrlPath :: HttpPath -> a -> aSource
reqAddUrlParam :: HttpParamName -> HttpParamValue -> a -> aSource
class IsHttp a => IsRes a whereSource
resCode :: a -> HttpCodeSource
resSetStatus :: HttpCode -> Maybe HttpReason -> a -> aSource
resReason :: a -> HttpReasonSource
reqIn_body :: ReqIn -> HttpBodySource
reqOut_body :: ReqOut -> HttpBodySource
resIn_body :: ResIn -> HttpBodySource
resOut_body :: ResOut -> HttpBodySource
urlParams :: HttpUrl -> HttpParamsSource
urlMatchPrefix :: HttpPath -> HttpUrl -> Maybe HttpUrlSource
completeReq :: IsHttp req => req -> reqSource
completeRes :: IsHttp res => res -> resSource