Commit Graph

261 Commits

Author SHA1 Message Date
sigma-andex
e2f89f42e8 Format code 2022-06-05 20:53:52 +01:00
sigma-andex
183561d251 Add encoder 2022-06-05 20:53:52 +01:00
sigma-andex
4c6d57ed1d Format code 2022-06-05 20:53:52 +01:00
sigma-andex
01cf6ca842 Relax aff to m 2022-06-05 20:53:52 +01:00
sigma-andex
f928e1b988 Add documentation 2022-06-05 20:53:52 +01:00
sigma-andex
a7e1f4e309 Add json request parsing
- Use json drivers to support different json libraries like argonaut or
  yoga-json
- Use continuations to simplify parsing and short-circuit bad requests
2022-06-05 20:53:52 +01:00
sigma-andex
ffa1b44408
Minor readme update 2022-05-26 11:55:02 +01:00
sigma-andex
1008b89a84 Format code 2022-05-26 11:54:14 +01:00
sigma-andex
95797c8938 Improve stopping message 2022-05-26 11:54:14 +01:00
sigma-andex
0ace3c0797 Add Generic to reexports, improve closing messages 2022-05-26 11:54:14 +01:00
sigma-andex
9ea195ea17
v1.0.0 → v1.1.0 2022-05-25 20:47:33 +01:00
sigma-andex
a21a7e92ef
Upgrade set 2022-05-25 20:47:17 +01:00
sigma-andex
173eaa904c Simplify ci to fasten build times 2022-05-25 20:30:05 +01:00
sigma-andex
cf0c786fc0 Format code 2022-05-25 19:27:02 +01:00
sigma-andex
f3837b0563 Reexport routing-duplex to simplify imports 2022-05-25 19:27:02 +01:00
sigma-andex
52ceb844a7
Update readme 2022-05-22 20:41:12 +01:00
sigma-andex
be78b82445
Fix justifill version 2022-05-22 20:08:29 +01:00
sigma-andex
348ebe71a5
v0.14.0 → v1.0.0 2022-05-22 19:50:16 +01:00
sigma-andex
bc36dfe116
Update bower.json 2022-05-22 19:41:37 +01:00
sigma-andex
1f0f1ac8d9
Update bower.json 2022-05-22 19:40:55 +01:00
sigma-andex
18c2a1ab38
v0.14.0 → v1.0.0 2022-05-22 19:38:02 +01:00
sigma-andex
d257b561aa
Update bower.json 2022-05-22 19:37:50 +01:00
sigma-andex
e2426daa9d
Fix package meta info 2022-05-22 19:37:14 +01:00
sigma-andex
ff83de5ac1
v0.14.0 → v1.0.0 2022-05-22 19:34:05 +01:00
sigma-andex
56ac8b263b
Update bower.json 2022-05-22 19:33:51 +01:00
sigma-andex
74c799dae4
Add hmr example 2022-05-22 19:29:23 +01:00
sigma-andex
e1d6263d4d
Add differences toc 2022-05-22 18:55:10 +01:00
sigma-andex
d2ce890a92
Update readme with differences to httpure 2022-05-22 18:39:34 +01:00
sigma-andex
fcf532bd71
Add hello world example to readme & format code 2022-05-22 17:54:11 +01:00
sigma-andex
345675d5bd Make settings optional
- Add default onStarted and closingHandler
- Use justifill to easily add options
- Remove multiple serve options
2022-05-22 17:37:42 +01:00
sigma-andex
c16eb2bdcc Rename modules and rudimentarily update readme 2022-05-22 12:48:32 +01:00
sigma-andex
dc245bbfc7 Update packages and spago files 2022-05-22 12:34:27 +01:00
sigma-andex
9a8f34cf73 Update HTTPure to routing duplex 2022-05-22 12:34:27 +01:00
sigma-andex
24197a474a First working example of routing duplex 2022-05-22 12:34:27 +01:00
Connor Prussin
2286472305
Use niv out of nixpkgs (#195)
* Use `niv` out of `nixpkgs`
* Update CI tests and add one for Nix formatting
2022-05-04 23:33:37 -07:00
Thomas Honeyman
42bf4475e0
Update for PureScript 0.15 (#194)
* Update shell and packages

* Fix code for 0.15

* Fix tests

* Format

* Add check-pulp command

* Generate bowerfile

* Add check-pulp to CI

* Add nixfmt to formatting

* Fixup test helpers

* Take 2

* PR comments (#1)

* Nix cleanup from PR

* Use arrows functions

* Remove unnecessary step

Co-authored-by: Connor Prussin <connor@prussin.net>
2022-05-04 14:02:29 -07:00
Connor Prussin
bc93c23f21
v0.13.1 → v0.14.0 2021-12-06 21:08:44 -08:00
Connor Prussin
4f0fb34195
Release notes for v0.14.0 2021-12-06 21:03:07 -08:00
Wenbo Gao
4319cffed6
Cache Body toBuffer/toString Results (#189)
* cache `body` processing results (Buffer, String) with `Ref`

* add `readBodyAs(Buffer|Stream|String)` for accessing `body`

* fix tests

* add tests for `readBodyAsBuffer` and `readBodyAsString`

* move Body to HTTPure.Body and rename it to RequestBody

* add HTTPure.Body.toStream

* consolidate `readBodyAs(Buffer|String)` into `to(Buffer|String)`

and move `Ref` from top level `body` down to `buffer` and `string` fields

* fix tests

* import constructors explicitly

* revert changes

This reverts commit e53188c3e6d74ca00d3d891829ca91f0803b870b.

* update `Body.read` to return `RequestBody`
2021-12-06 20:59:53 -08:00
Connor Prussin
3f20f1cff8
v0.13.0 → v0.13.1 2021-11-29 21:26:39 -08:00
Connor Prussin
c21da0917e
Release notes for v0.13.1 2021-11-29 21:19:33 -08:00
Arthur Xavier
c34b341a03
Support 'Duplex' streams in the existing 'Body' instance for streams (#187) 2021-11-29 09:09:40 -08:00
Connor Prussin
619c18e8a8
v0.12.0 → v0.13.0 2021-11-20 09:47:43 -08:00
Connor Prussin
e99713c830
Regenerate bower.json 2021-11-20 09:47:43 -08:00
Connor Prussin
0b44d317e1
Release notes for v0.13.0 2021-11-20 09:47:43 -08:00
Connor Prussin
e6c12b9cf7
Update Releasing notes 2021-11-20 09:47:43 -08:00
Connor Prussin
7dfc1ba32b
Rename master to main in github workflow 2021-11-20 09:47:43 -08:00
Connor Prussin
8840689a60
Upgrade sources 2021-11-20 09:35:41 -08:00
Connor Prussin
8295d8755e
Clean up imports (#185)
* Clean up import declarations to only use qualified when necessary

* Remove unused imports
2021-11-18 22:16:35 -08:00
Connor Prussin
f58aa94484
Remove some stale doc references to make 2021-11-16 21:50:23 -08:00