2 Commits
Author SHA1 Message Date
jlamothe 1ecf47b391 use lazy ByteString for GemResponse 2021-11-01 13:12:50 -04:00
jlamothe 3e17acc4f3 added haddock headers to Network.GemServ 2021-11-01 13:09:27 -04:00
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -27,7 +27,9 @@ License along with this program. If not, see
{-# LANGUAGE LambdaCase, OverloadedStrings, RecordWildCards #-}
module Network.GemServ (
-- * Running a Gemini Server
runGemServer,
-- * Encoding/Decoding Functions
encodeGemURL,
decodeGemURL,
escapeString,
+2 -2
View File
@@ -38,7 +38,7 @@ module Network.GemServ.Types (
newGemServSettings
) where
import qualified Data.ByteString as BS
import qualified Data.ByteString.Lazy as BSL
import Data.Word (Word8, Word16, Word32)
import Data.X509 (Certificate)
@@ -68,7 +68,7 @@ data GemResponse = GemResponse
-- ^ The response status code
, respMeta :: String
-- ^ The response metadata
, respBody :: Maybe BS.ByteString
, respBody :: Maybe BSL.ByteString
-- ^ The response body
} deriving (Eq, Show)