Compare commits
No commits in common. "1ecf47b391f2fb52d60b5cb22b7b7a42f115db46" and "0aae14479d8e34e8003e6e2dbb2a6c6641674588" have entirely different histories.
1ecf47b391
...
0aae14479d
|
@ -27,9 +27,7 @@ License along with this program. If not, see
|
||||||
{-# LANGUAGE LambdaCase, OverloadedStrings, RecordWildCards #-}
|
{-# LANGUAGE LambdaCase, OverloadedStrings, RecordWildCards #-}
|
||||||
|
|
||||||
module Network.GemServ (
|
module Network.GemServ (
|
||||||
-- * Running a Gemini Server
|
|
||||||
runGemServer,
|
runGemServer,
|
||||||
-- * Encoding/Decoding Functions
|
|
||||||
encodeGemURL,
|
encodeGemURL,
|
||||||
decodeGemURL,
|
decodeGemURL,
|
||||||
escapeString,
|
escapeString,
|
||||||
|
|
|
@ -38,7 +38,7 @@ module Network.GemServ.Types (
|
||||||
newGemServSettings
|
newGemServSettings
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import qualified Data.ByteString.Lazy as BSL
|
import qualified Data.ByteString as BS
|
||||||
import Data.Word (Word8, Word16, Word32)
|
import Data.Word (Word8, Word16, Word32)
|
||||||
import Data.X509 (Certificate)
|
import Data.X509 (Certificate)
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ data GemResponse = GemResponse
|
||||||
-- ^ The response status code
|
-- ^ The response status code
|
||||||
, respMeta :: String
|
, respMeta :: String
|
||||||
-- ^ The response metadata
|
-- ^ The response metadata
|
||||||
, respBody :: Maybe BSL.ByteString
|
, respBody :: Maybe BS.ByteString
|
||||||
-- ^ The response body
|
-- ^ The response body
|
||||||
} deriving (Eq, Show)
|
} deriving (Eq, Show)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user