Mika Tammi
17b55634b3
servant-client-ghcjs: Fix performRequest function
...
Fix performRequest function to be compatible with the latest
servant-client-core RunClient typeclass
2022-02-11 20:55:34 +02:00
Oleg Grenrus
a5655f8d5a
Rename ServantError to ClientError, ServantErr to ServerError
2019-02-18 22:51:09 +02:00
Oleg Grenrus
420ebd0475
Refactor servant-client-core
...
- No more Internal modules
- Remove ClientLike-generic. Let's use Routes-generics
- Let's see if anyone notices, otherwise we can add it back
- Add Makefile for common tasks
- Fix servant-client-ghcjs
2019-02-18 19:08:13 +02:00
Oleg Grenrus
c95b195eb4
XhrClient doesn't support streaming
2018-11-08 18:47:54 +02:00
Falco Peijnenburg
4df71dce96
servant-client-ghcjs: Throw exception on streamingRequest
...
Documented this behaviour in haddocks of client and ClientM
2018-04-28 14:36:47 +02:00
Falco Peijnenburg
108df0857e
servant-client-ghcjs: Support binary requests
...
Introduces support for both sending and receiving binary data
2018-04-28 13:42:26 +02:00
Julian K. Arni
c02ca1b6e1
Implement new constructors for GHCJS.
...
Streaming is not actually performed - instead the whole object is
held in memory.
2018-03-19 16:26:57 +01:00
Oleg Grenrus
454f53315f
Remove catchServantError
2018-03-11 16:50:14 +02:00
Falco Peijnenburg
3f905ea41c
servant-client-ghcjs: Default runClientM doesn't accept ClientEnv, runClientMOrigin does.
...
CORS are rare. Most requests by far will be to the origin that served the javascript.
2017-10-22 14:55:18 +02:00
Falco Peijnenburg
911be50df2
servant-client-ghcjs: Fixed not throwing FailureResponse
2017-10-22 14:55:18 +02:00
Falco Peijnenburg
74bde0a73d
servant-client-ghcjs: Fixed Accept and Content-Type headers not being set
2017-10-22 14:55:18 +02:00
Falco Peijnenburg
8d1229f2d4
servant-client-ghcjs: Renamed GhcjsClientM to ClientM
2017-10-22 14:55:18 +02:00
Falco Peijnenburg
67f2285e30
WIP! Untested! Initial servant-client-ghcjs package
2017-10-22 14:55:18 +02:00