Yuriy Glukhov
ac2f6b9360
Comments addressed
2019-06-17 18:47:11 +03:00
Yuriy Glukhov
f19d66b35c
Websocket client support and some fixes
2019-06-12 20:53:15 +03:00
kdeme
707567c7ab
Check if method field is a string
2019-05-17 11:58:51 +03:00
Ștefan Talpalaru
27dea58c4d
Merge branch 'fixfreeze'
2019-05-15 00:13:37 +02:00
cheatfate
a56ad7dfcb
Fix freezes on *nix systems.
2019-05-14 18:42:51 +03:00
Ștefan Talpalaru
493583b7f4
cosmetic change
2019-05-10 22:08:30 +02:00
kdeme
40411aef5a
Add JObject check to resolve possible unhandled exception
2019-04-29 22:04:56 +03:00
Ștefan Talpalaru
92a7b78f4a
Nim HEAD support
2019-04-26 00:17:04 +02:00
cheatfate
2d3db88137
Fix deprecated warnings.
2019-03-25 19:28:31 +02:00
Ștefan Talpalaru
159f9b816e
assert() -> doAssert()
2019-03-13 22:42:07 +01:00
Mamy Ratsimbazafy
53ed44dfa5
Rebrand asyncdispatch2 to chronos ( #50 )
2019-02-06 18:27:58 +01:00
Ștefan Talpalaru
1083b2972a
support Content-Type headers with specified charset
...
and add RPC message content to the debugging output (at the TRACE level,
disabled by default)
2019-01-28 12:39:27 +02:00
Ștefan Talpalaru
756ad70598
add the root cause issue in a comment, so we know
...
when the workaround is no longer needed
2019-01-17 18:35:15 +02:00
Ștefan Talpalaru
b2c5fa8e58
disable Chronicles colours on Windows
2019-01-17 18:35:15 +02:00
Ștefan Talpalaru
64a9999ac9
another {.gcsafe.} pragma, just for Windows
2019-01-17 18:35:15 +02:00
Ștefan Talpalaru
c29e4de623
add "--threads:on" to tests
2019-01-17 18:35:15 +02:00
andri lim
0cdeb04a12
fix httpclient logScope 'topic' to 'topics'
2019-01-16 13:03:57 +02:00
andri lim
b4a3273152
fix test
2019-01-12 16:17:19 +02:00
andri lim
b9286104e7
use HTTP1.0 and drop connection:keep-alive
2019-01-12 16:17:19 +02:00
Ștefan Talpalaru
cbbdc34399
fix breakage with Nim HEAD
2019-01-04 15:57:52 +02:00
Bruno Škvorc
1efd0e84e1
Update README.md
2019-01-02 14:56:38 +01:00
Yuriy Glukhov
839cc3ae33
Fixed compilation error with newer nim
2018-12-20 12:58:42 +02:00
cheatfate
6a0b0ff30d
Fix support of `Content-Length` response header.
2018-12-10 13:56:10 +02:00
coffeepots
d6cda75177
Merge pull request #43 from status-im/OptionsFixes
...
Options fixes
2018-11-26 19:44:57 +00:00
coffeepots
e1fad2e3ba
Fix test using wrong rpc path
2018-11-26 18:33:47 +00:00
coffeepots
77b485c6ce
More tests for optional fields inside objects
2018-11-26 18:12:26 +00:00
coffeepots
798e86112c
Cover optional cases within objects
2018-11-26 18:03:56 +00:00
coffeepots
0160295743
Improve non-builtin optional test
2018-11-23 16:56:00 +00:00
coffeepots
066b06862d
Add test for Option[T] where T is not a builtin
2018-11-23 16:11:12 +00:00
coffeepots
51ed6f3000
Remove expectType for Option[T], use fromJson on subtype for validation
2018-11-23 16:10:35 +00:00
coffeepots
e942357de6
Fix iterating through return type
2018-11-23 16:05:46 +00:00
coffeepots
5e7f2d6a61
Merge pull request #42 from jangko/rpc_macro
...
add optional arg support to rpc macro
2018-11-19 10:58:38 +00:00
andri lim
a1fe7d57b4
allow optional parameters in the middle of parameters list
2018-11-16 20:07:39 +07:00
coffeepots
a14e2dbcbb
Merge pull request #41 from jangko/add_http_method
...
fixes #37 add http method get/set to httpclient
2018-11-14 16:48:30 +00:00
andri lim
3c4c5559f1
add httpMethod param to httpclient.call
2018-11-13 10:22:43 +07:00
Zahary Karadjov
8bb6fdd3bf
fix a wrong rebase
2018-11-12 23:54:29 +02:00
Zahary Karadjov
26953344c3
Turn some potentially dangerous templates into functions
...
Be careful when creating templates. If the input parameters are
referenced within the body multiple times, this may lead to multiple
evaluations of functions with side-effects.
2018-11-12 23:51:24 +02:00
andri lim
06637848de
remove httpmethod enum
2018-11-12 21:02:54 +07:00
andri lim
ee3ba6d5ad
add optional arg support to rpc macro
2018-11-12 17:47:03 +07:00
andri lim
965e2c16f5
fixes #38 add http method get/set to httpclient
2018-11-12 11:43:51 +07:00
Eugene Kabanov
814dd7254b
Merge pull request #35 from jangko/http_header
...
add host to http header
2018-11-08 00:20:48 +02:00
andri lim
d224b7dea7
add host to http header
2018-11-07 22:43:52 +07:00
Jacek Sieka
0c81936669
appveyor: update
2018-10-04 09:54:44 -06:00
Zahary Karadjov
bfc290f360
Don't use HTTP dependencies in Nimble due to nim-lang/nimble#543
2018-09-15 23:50:44 +03:00
Eugene Kabanov
d469109680
Merge pull request #34 from status-im/FixTestsNotClosingConnections
...
Fix tests not closing connections
2018-09-13 21:51:17 +03:00
coffeepots
5da9ce7881
Make all tests use port 8545 to check connection closing between tests
2018-09-13 19:27:51 +01:00
coffeepots
7a27a78122
Update testEthCalls and testRpcMacro with closeWait
2018-09-13 19:20:16 +01:00
coffeepots
f0eb9693af
Use different port for socket test
2018-09-13 18:46:15 +01:00
coffeepots
b8b38c53c9
Update http test to use closeWait
2018-09-13 18:06:54 +01:00
coffeepots
0ba96afb13
Update socket test to use closeWait
2018-09-13 18:06:46 +01:00