Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- messageHeadersAppend
- messageHeadersCleanConnectionHeaders
- messageHeadersClear
- messageHeadersForeach
- messageHeadersFree
- messageHeadersFreeRanges
- messageHeadersGet
- messageHeadersGetContentDisposition
- messageHeadersGetContentLength
- messageHeadersGetContentRange
- messageHeadersGetContentType
- messageHeadersGetEncoding
- messageHeadersGetExpectations
- messageHeadersGetHeadersType
- messageHeadersGetList
- messageHeadersGetOne
- messageHeadersGetRanges
- messageHeadersHeaderContains
- messageHeadersHeaderEquals
- messageHeadersNew
- messageHeadersRemove
- messageHeadersReplace
- messageHeadersSetContentDisposition
- messageHeadersSetContentLength
- messageHeadersSetContentRange
- messageHeadersSetContentType
- messageHeadersSetEncoding
- messageHeadersSetExpectations
- messageHeadersSetRange
- messageHeadersSetRanges
The HTTP message headers associated with a request or response.
- newtype MessageHeaders = MessageHeaders (ForeignPtr MessageHeaders)
- noMessageHeaders :: Maybe MessageHeaders
- data MessageHeadersAppendMethodInfo
- messageHeadersAppend :: MonadIO m => MessageHeaders -> Text -> Text -> m ()
- data MessageHeadersCleanConnectionHeadersMethodInfo
- messageHeadersCleanConnectionHeaders :: MonadIO m => MessageHeaders -> m ()
- data MessageHeadersClearMethodInfo
- messageHeadersClear :: MonadIO m => MessageHeaders -> m ()
- data MessageHeadersForeachMethodInfo
- messageHeadersForeach :: MonadIO m => MessageHeaders -> MessageHeadersForeachFunc -> m ()
- data MessageHeadersFreeMethodInfo
- messageHeadersFree :: MonadIO m => MessageHeaders -> m ()
- data MessageHeadersFreeRangesMethodInfo
- messageHeadersFreeRanges :: MonadIO m => MessageHeaders -> Range -> m ()
- data MessageHeadersGetMethodInfo
- messageHeadersGet :: MonadIO m => MessageHeaders -> Text -> m (Maybe Text)
- data MessageHeadersGetContentDispositionMethodInfo
- messageHeadersGetContentDisposition :: MonadIO m => MessageHeaders -> m (Bool, Text, Map Text Text)
- data MessageHeadersGetContentLengthMethodInfo
- messageHeadersGetContentLength :: MonadIO m => MessageHeaders -> m Int64
- data MessageHeadersGetContentRangeMethodInfo
- messageHeadersGetContentRange :: MonadIO m => MessageHeaders -> Int64 -> Int64 -> Int64 -> m Bool
- data MessageHeadersGetContentTypeMethodInfo
- messageHeadersGetContentType :: MonadIO m => MessageHeaders -> m (Maybe Text, Map Text Text)
- data MessageHeadersGetEncodingMethodInfo
- messageHeadersGetEncoding :: MonadIO m => MessageHeaders -> m Encoding
- data MessageHeadersGetExpectationsMethodInfo
- messageHeadersGetExpectations :: MonadIO m => MessageHeaders -> m [Expectation]
- data MessageHeadersGetHeadersTypeMethodInfo
- messageHeadersGetHeadersType :: MonadIO m => MessageHeaders -> m MessageHeadersType
- data MessageHeadersGetListMethodInfo
- messageHeadersGetList :: MonadIO m => MessageHeaders -> Text -> m (Maybe Text)
- data MessageHeadersGetOneMethodInfo
- messageHeadersGetOne :: MonadIO m => MessageHeaders -> Text -> m (Maybe Text)
- data MessageHeadersGetRangesMethodInfo
- messageHeadersGetRanges :: MonadIO m => MessageHeaders -> Int64 -> m (Bool, [Range])
- data MessageHeadersHeaderContainsMethodInfo
- messageHeadersHeaderContains :: MonadIO m => MessageHeaders -> Text -> Text -> m Bool
- data MessageHeadersHeaderEqualsMethodInfo
- messageHeadersHeaderEquals :: MonadIO m => MessageHeaders -> Text -> Text -> m Bool
- messageHeadersNew :: MonadIO m => MessageHeadersType -> m MessageHeaders
- data MessageHeadersRemoveMethodInfo
- messageHeadersRemove :: MonadIO m => MessageHeaders -> Text -> m ()
- data MessageHeadersReplaceMethodInfo
- messageHeadersReplace :: MonadIO m => MessageHeaders -> Text -> Text -> m ()
- data MessageHeadersSetContentDispositionMethodInfo
- messageHeadersSetContentDisposition :: MonadIO m => MessageHeaders -> Text -> Maybe (Map Text Text) -> m ()
- data MessageHeadersSetContentLengthMethodInfo
- messageHeadersSetContentLength :: MonadIO m => MessageHeaders -> Int64 -> m ()
- data MessageHeadersSetContentRangeMethodInfo
- messageHeadersSetContentRange :: MonadIO m => MessageHeaders -> Int64 -> Int64 -> Int64 -> m ()
- data MessageHeadersSetContentTypeMethodInfo
- messageHeadersSetContentType :: MonadIO m => MessageHeaders -> Text -> Maybe (Map Text Text) -> m ()
- data MessageHeadersSetEncodingMethodInfo
- messageHeadersSetEncoding :: MonadIO m => MessageHeaders -> Encoding -> m ()
- data MessageHeadersSetExpectationsMethodInfo
- messageHeadersSetExpectations :: MonadIO m => MessageHeaders -> [Expectation] -> m ()
- data MessageHeadersSetRangeMethodInfo
- messageHeadersSetRange :: MonadIO m => MessageHeaders -> Int64 -> Int64 -> m ()
- data MessageHeadersSetRangesMethodInfo
- messageHeadersSetRanges :: MonadIO m => MessageHeaders -> Range -> Int32 -> m ()
Exported types
newtype MessageHeaders Source
Methods
messageHeadersAppend
data MessageHeadersAppendMethodInfo Source
((~) * signature (Text -> Text -> m ()), MonadIO m) => MethodInfo * MessageHeadersAppendMethodInfo MessageHeaders signature |
messageHeadersAppend :: MonadIO m => MessageHeaders -> Text -> Text -> m () Source
messageHeadersCleanConnectionHeaders
data MessageHeadersCleanConnectionHeadersMethodInfo Source
((~) * signature (m ()), MonadIO m) => MethodInfo * MessageHeadersCleanConnectionHeadersMethodInfo MessageHeaders signature |
messageHeadersCleanConnectionHeaders :: MonadIO m => MessageHeaders -> m () Source
messageHeadersClear
data MessageHeadersClearMethodInfo Source
((~) * signature (m ()), MonadIO m) => MethodInfo * MessageHeadersClearMethodInfo MessageHeaders signature |
messageHeadersClear :: MonadIO m => MessageHeaders -> m () Source
messageHeadersForeach
data MessageHeadersForeachMethodInfo Source
((~) * signature (MessageHeadersForeachFunc -> m ()), MonadIO m) => MethodInfo * MessageHeadersForeachMethodInfo MessageHeaders signature |
messageHeadersForeach :: MonadIO m => MessageHeaders -> MessageHeadersForeachFunc -> m () Source
messageHeadersFree
data MessageHeadersFreeMethodInfo Source
((~) * signature (m ()), MonadIO m) => MethodInfo * MessageHeadersFreeMethodInfo MessageHeaders signature |
messageHeadersFree :: MonadIO m => MessageHeaders -> m () Source
messageHeadersFreeRanges
data MessageHeadersFreeRangesMethodInfo Source
((~) * signature (Range -> m ()), MonadIO m) => MethodInfo * MessageHeadersFreeRangesMethodInfo MessageHeaders signature |
messageHeadersFreeRanges :: MonadIO m => MessageHeaders -> Range -> m () Source
messageHeadersGet
data MessageHeadersGetMethodInfo Source
((~) * signature (Text -> m (Maybe Text)), MonadIO m) => MethodInfo * MessageHeadersGetMethodInfo MessageHeaders signature |
messageHeadersGet :: MonadIO m => MessageHeaders -> Text -> m (Maybe Text) Source
Deprecated: Use soup_message_headers_get_one() orsoup_message_headers_get_list() instead.
messageHeadersGetContentDisposition
data MessageHeadersGetContentDispositionMethodInfo Source
((~) * signature (m (Bool, Text, Map Text Text)), MonadIO m) => MethodInfo * MessageHeadersGetContentDispositionMethodInfo MessageHeaders signature |
messageHeadersGetContentDisposition :: MonadIO m => MessageHeaders -> m (Bool, Text, Map Text Text) Source
messageHeadersGetContentLength
data MessageHeadersGetContentLengthMethodInfo Source
((~) * signature (m Int64), MonadIO m) => MethodInfo * MessageHeadersGetContentLengthMethodInfo MessageHeaders signature |
messageHeadersGetContentLength :: MonadIO m => MessageHeaders -> m Int64 Source
messageHeadersGetContentRange
data MessageHeadersGetContentRangeMethodInfo Source
((~) * signature (Int64 -> Int64 -> Int64 -> m Bool), MonadIO m) => MethodInfo * MessageHeadersGetContentRangeMethodInfo MessageHeaders signature |
messageHeadersGetContentRange :: MonadIO m => MessageHeaders -> Int64 -> Int64 -> Int64 -> m Bool Source
messageHeadersGetContentType
data MessageHeadersGetContentTypeMethodInfo Source
((~) * signature (m (Maybe Text, Map Text Text)), MonadIO m) => MethodInfo * MessageHeadersGetContentTypeMethodInfo MessageHeaders signature |
messageHeadersGetContentType :: MonadIO m => MessageHeaders -> m (Maybe Text, Map Text Text) Source
messageHeadersGetEncoding
data MessageHeadersGetEncodingMethodInfo Source
((~) * signature (m Encoding), MonadIO m) => MethodInfo * MessageHeadersGetEncodingMethodInfo MessageHeaders signature |
messageHeadersGetEncoding :: MonadIO m => MessageHeaders -> m Encoding Source
messageHeadersGetExpectations
data MessageHeadersGetExpectationsMethodInfo Source
((~) * signature (m [Expectation]), MonadIO m) => MethodInfo * MessageHeadersGetExpectationsMethodInfo MessageHeaders signature |
messageHeadersGetExpectations :: MonadIO m => MessageHeaders -> m [Expectation] Source
messageHeadersGetHeadersType
data MessageHeadersGetHeadersTypeMethodInfo Source
((~) * signature (m MessageHeadersType), MonadIO m) => MethodInfo * MessageHeadersGetHeadersTypeMethodInfo MessageHeaders signature |
messageHeadersGetList
data MessageHeadersGetListMethodInfo Source
((~) * signature (Text -> m (Maybe Text)), MonadIO m) => MethodInfo * MessageHeadersGetListMethodInfo MessageHeaders signature |
messageHeadersGetList :: MonadIO m => MessageHeaders -> Text -> m (Maybe Text) Source
messageHeadersGetOne
data MessageHeadersGetOneMethodInfo Source
((~) * signature (Text -> m (Maybe Text)), MonadIO m) => MethodInfo * MessageHeadersGetOneMethodInfo MessageHeaders signature |
messageHeadersGetOne :: MonadIO m => MessageHeaders -> Text -> m (Maybe Text) Source
messageHeadersGetRanges
data MessageHeadersGetRangesMethodInfo Source
((~) * signature (Int64 -> m (Bool, [Range])), MonadIO m) => MethodInfo * MessageHeadersGetRangesMethodInfo MessageHeaders signature |
messageHeadersGetRanges :: MonadIO m => MessageHeaders -> Int64 -> m (Bool, [Range]) Source
messageHeadersHeaderContains
data MessageHeadersHeaderContainsMethodInfo Source
((~) * signature (Text -> Text -> m Bool), MonadIO m) => MethodInfo * MessageHeadersHeaderContainsMethodInfo MessageHeaders signature |
messageHeadersHeaderContains :: MonadIO m => MessageHeaders -> Text -> Text -> m Bool Source
messageHeadersHeaderEquals
data MessageHeadersHeaderEqualsMethodInfo Source
((~) * signature (Text -> Text -> m Bool), MonadIO m) => MethodInfo * MessageHeadersHeaderEqualsMethodInfo MessageHeaders signature |
messageHeadersHeaderEquals :: MonadIO m => MessageHeaders -> Text -> Text -> m Bool Source
messageHeadersNew
messageHeadersNew :: MonadIO m => MessageHeadersType -> m MessageHeaders Source
messageHeadersRemove
data MessageHeadersRemoveMethodInfo Source
((~) * signature (Text -> m ()), MonadIO m) => MethodInfo * MessageHeadersRemoveMethodInfo MessageHeaders signature |
messageHeadersRemove :: MonadIO m => MessageHeaders -> Text -> m () Source
messageHeadersReplace
data MessageHeadersReplaceMethodInfo Source
((~) * signature (Text -> Text -> m ()), MonadIO m) => MethodInfo * MessageHeadersReplaceMethodInfo MessageHeaders signature |
messageHeadersReplace :: MonadIO m => MessageHeaders -> Text -> Text -> m () Source
messageHeadersSetContentDisposition
data MessageHeadersSetContentDispositionMethodInfo Source
((~) * signature (Text -> Maybe (Map Text Text) -> m ()), MonadIO m) => MethodInfo * MessageHeadersSetContentDispositionMethodInfo MessageHeaders signature |
messageHeadersSetContentDisposition :: MonadIO m => MessageHeaders -> Text -> Maybe (Map Text Text) -> m () Source
messageHeadersSetContentLength
data MessageHeadersSetContentLengthMethodInfo Source
((~) * signature (Int64 -> m ()), MonadIO m) => MethodInfo * MessageHeadersSetContentLengthMethodInfo MessageHeaders signature |
messageHeadersSetContentLength :: MonadIO m => MessageHeaders -> Int64 -> m () Source
messageHeadersSetContentRange
data MessageHeadersSetContentRangeMethodInfo Source
((~) * signature (Int64 -> Int64 -> Int64 -> m ()), MonadIO m) => MethodInfo * MessageHeadersSetContentRangeMethodInfo MessageHeaders signature |
messageHeadersSetContentRange :: MonadIO m => MessageHeaders -> Int64 -> Int64 -> Int64 -> m () Source
messageHeadersSetContentType
data MessageHeadersSetContentTypeMethodInfo Source
((~) * signature (Text -> Maybe (Map Text Text) -> m ()), MonadIO m) => MethodInfo * MessageHeadersSetContentTypeMethodInfo MessageHeaders signature |
messageHeadersSetContentType :: MonadIO m => MessageHeaders -> Text -> Maybe (Map Text Text) -> m () Source
messageHeadersSetEncoding
data MessageHeadersSetEncodingMethodInfo Source
((~) * signature (Encoding -> m ()), MonadIO m) => MethodInfo * MessageHeadersSetEncodingMethodInfo MessageHeaders signature |
messageHeadersSetEncoding :: MonadIO m => MessageHeaders -> Encoding -> m () Source
messageHeadersSetExpectations
data MessageHeadersSetExpectationsMethodInfo Source
((~) * signature ([Expectation] -> m ()), MonadIO m) => MethodInfo * MessageHeadersSetExpectationsMethodInfo MessageHeaders signature |
messageHeadersSetExpectations :: MonadIO m => MessageHeaders -> [Expectation] -> m () Source
messageHeadersSetRange
data MessageHeadersSetRangeMethodInfo Source
((~) * signature (Int64 -> Int64 -> m ()), MonadIO m) => MethodInfo * MessageHeadersSetRangeMethodInfo MessageHeaders signature |
messageHeadersSetRange :: MonadIO m => MessageHeaders -> Int64 -> Int64 -> m () Source
messageHeadersSetRanges
data MessageHeadersSetRangesMethodInfo Source
((~) * signature (Range -> Int32 -> m ()), MonadIO m) => MethodInfo * MessageHeadersSetRangesMethodInfo MessageHeaders signature |
messageHeadersSetRanges :: MonadIO m => MessageHeaders -> Range -> Int32 -> m () Source