ModuleHTTP-4000.5.0
Network.TCP
- 4 types
- 1 class
- 9 values
- PackageHTTP-4000.5.0
- Exports14
- LicenceBSD-3-Clause
Instances1Stream
Stream ConnectionDefined in HTTP-4000.5.0 · Network.TCP
Methods
openStream :: String -> Int -> IO (HandleStream bufType)openSocketStream :: String -> Int -> Socket -> IO (HandleStream bufType)readLine :: HandleStream bufType -> IO (Result bufType)readBlock :: HandleStream bufType -> Int -> IO (Result bufType)writeBlock :: HandleStream bufType -> bufType -> IO (Result ())close :: HandleStream bufType -> IO ()closeQuick :: HandleStream bufType -> IO ()closeOnEnd :: HandleStream bufType -> Bool -> IO ()
Instances3HStream
HStream ByteStringDefined in HTTP-4000.5.0 · Network.TCPHStream ByteStringDefined in HTTP-4000.5.0 · Network.TCPHStream StringDefined in HTTP-4000.5.0 · Network.TCP
Constructors
StreamHookshook_readLine :: (ty -> String) -> Result ty -> IO ()hook_readBlock :: (ty -> String) -> Int -> Result ty -> IO ()hook_writeBlock :: (ty -> String) -> ty -> Result () -> IO ()hook_close :: IO ()hook_name :: String
Instances1Eq
Eq ty => Eq (StreamHooks ty)Defined in HTTP-4000.5.0 · Network.TCP