on 103705f help sign in
50 lines 945 B history raw
1-- |
2-- Module : Streamly.Network.Client
3-- Copyright : (c) 2019 Composewell Technologies
4--
5-- License : BSD3
6-- Maintainer : streamly@composewell.com
7-- Stability : experimental
8-- Portability : GHC
9--
10-- Combinators to build network clients.
11--
12-- > import qualified Streamly.Network.Socket as Client
13--
15module Streamly.Network.Client
16 (
17 -- * Interact
18 -- | Socket based reads and writes.
19 withConnection
21 -- * Source
22 , read
23 -- , readUtf8
24 -- , readLines
25 -- , readFrames
26 -- , readByChunks
28 -- -- * Array Read
29 -- , readArrayUpto
30 -- , readArrayOf
32 -- , readArraysUpto
33 -- , readArraysOf
34 -- , readArrays
36 -- * Sink
37 , write
38 -- , writeUtf8
39 -- , writeUtf8ByLines
40 -- , writeByFrames
41 -- , writeInChunksOf
43 -- -- * Array Write
44 -- , writeArray
45 , writeArrays
46 )
47where
49import Streamly.Internal.Network.Client
50import Prelude hiding (read)