Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Thrift.Transport
- data HttpClient = HttpClient {}
- openHttpClient :: URI -> IO HttpClient
Documentation
module Thrift.Transport
data HttpClient Source #
HttpClient
, or THttpClient implements the Thrift Transport
| Layer over http or https.
HttpClient | |
|
Instances
Transport HttpClient Source # | |
Defined in Thrift.Transport.HttpClient tIsOpen :: HttpClient -> IO Bool Source # tClose :: HttpClient -> IO () Source # tRead :: HttpClient -> Int -> IO ByteString Source # tPeek :: HttpClient -> IO (Maybe Word8) Source # tWrite :: HttpClient -> ByteString -> IO () Source # tFlush :: HttpClient -> IO () Source # tReadAll :: HttpClient -> Int -> IO ByteString Source # |
openHttpClient :: URI -> IO HttpClient Source #
Use openHttpClient
to create an HttpClient connected to uri