Commit Graph

27 Commits

Author SHA1 Message Date
Jonathan Lamothe 0aae14479d WIP: partially implemented runGemServer 2021-10-28 20:50:20 -04:00
Jonathan Lamothe d021511bd6 GemHandler is just a function now 2021-10-28 20:36:56 -04:00
Jonathan Lamothe f943b50a20 implemented GemServSettings type and constructor 2021-10-28 20:16:54 -04:00
Jonathan Lamothe 8c50721309 implemented GemHandler type 2021-10-28 19:39:50 -04:00
Jonathan Lamothe 7addd8982f implemented GemResponse type and constructor 2021-10-28 19:31:28 -04:00
Jonathan Lamothe d1f26115f6 implemented GemRequest type and constructor 2021-10-28 19:18:20 -04:00
Jonathan Lamothe 75d5e44278 updated README.md 2021-10-27 14:42:58 -04:00
Jonathan Lamothe bbdd7e4c8d remove GitHub references 2021-10-26 12:32:31 -04:00
Jonathan Lamothe 745e761451 include Paths_gemserv module after all 2021-10-26 12:05:56 -04:00
Jonathan Lamothe d029bee564 cabal fix
This removes the Paths_gemserv package from other-modules. Finding a
way to add it to autogen-modules would be preferable.
2021-10-26 11:55:12 -04:00
Jonathan Lamothe 76e690d706 added GitHub stuff 2021-10-24 23:05:58 -04:00
Jonathan Lamothe 00142e91d6 implemented decodeGemURL 2021-10-24 22:04:56 -04:00
Jonathan Lamothe a5d0c25fc3 make gemQuery field of GemURL optional (with Maybe) 2021-10-24 18:54:41 -04:00
Jonathan Lamothe a2d8f1a5ea renamed Request to GemURL
- A request should contain a URL and an optional client certigicate.
- renamed accompanying functions accordingly
2021-10-24 15:43:29 -04:00
Jonathan Lamothe db718eedcd properly encode non-ASCII characters with encodeString 2021-10-24 14:28:41 -04:00
Jonathan Lamothe a61806f8e4 implemented unescapeString 2021-10-24 12:47:37 -04:00
Jonathan Lamothe 3484fda01e escape characters in URLs 2021-10-22 16:51:04 -04:00
Jonathan Lamothe 8590219126 implemented escapeString 2021-10-22 16:40:44 -04:00
Jonathan Lamothe d56116d4c9 implemented encodeRequest
Note: this does not yet handle percent-escaped characters
2021-10-22 14:29:15 -04:00
Jonathan Lamothe bb7b2ebaa2 implemented newRequest 2021-10-22 14:28:08 -04:00
Jonathan Lamothe ef3693f49c created Request type 2021-10-22 13:35:15 -04:00
Jonathan Lamothe 2a11520a5f create Network.GemServ module 2021-10-22 13:35:15 -04:00
Jonathan Lamothe 66d459b5b9 make tls and x509 packages available 2021-10-22 12:50:18 -04:00
Jonathan Lamothe 25708ecb33 use tcp-streams 2021-10-19 11:19:16 -04:00
Jonathan Lamothe 95e875d799 use hspec 2021-10-19 11:08:12 -04:00
Jonathan Lamothe d9b41cdc66 added copyright notice to README.md 2021-10-19 10:54:53 -04:00
Jonathan Lamothe d8161500cc initial commit 2021-10-19 10:51:15 -04:00