Skip to content

Commit 7036a34

Browse files
committed
fixing the client example.
1 parent a04bb5c commit 7036a34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Network/HTTP2/Client.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
-- > main :: IO ()
2525
-- > main = runTCPClient serverName "80" $ runHTTP2Client serverName
2626
-- > where
27-
-- > cliconf host = defaultClientConfig { authority = C8.pack host }
27+
-- > cliconf host = defaultClientConfig { authority = host }
2828
-- > runHTTP2Client host s = E.bracket (allocSimpleConfig s 4096)
2929
-- > freeSimpleConfig
3030
-- > (\conf -> run (cliconf host) conf client)

0 commit comments

Comments
 (0)