| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Space.View
- data ByteString :: *
- module Network.HTTP.Types
- module Network.Wai
- type Html = HtmlT Identity
- render :: Status -> ResponseHeaders -> Html a -> Response
- jsonResponse :: ToJSON x => Status -> x -> Response
- jsonCType :: Header
- notFound :: Response
- methodNotAllowed :: Response
- intArg :: Integral int => ByteString -> (int -> IO Response) -> IO Response
Documentation
data ByteString :: * #
A space-efficient representation of a Word8 vector, supporting many
efficient operations.
A ByteString contains 8-bit bytes, or by using the operations from
Data.ByteString.Char8 it can be interpreted as containing 8-bit
characters.
Instances
| Eq ByteString | |
| Data ByteString | |
| Ord ByteString | |
| Read ByteString | |
| Show ByteString | |
| IsString ByteString | |
| Semigroup ByteString | |
| Monoid ByteString | |
| Chunk ByteString | |
| FoldCase ByteString | Note that |
| NFData ByteString | |
| ToHtml ByteString | This instance requires the ByteString to contain UTF-8 encoded
text, for the |
| type State ByteString | |
| type ChunkElem ByteString | |
module Network.HTTP.Types
module Network.Wai