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
coffeepots
bb9896d693
Add closeWait to httpServer
2018-09-13 18:06:33 +01:00
coffeepots
ef86bf3bce
Add closeWait to socketServer
2018-09-13 18:06:13 +01:00
Jacek Sieka
4544227ed6
readme: update license
2018-09-05 12:48:06 -06:00
Jacek Sieka
11a752fbf7
ci: update
...
readme: fix license, badges
2018-09-04 22:47:25 -06:00
Jacek Sieka
0431a80eb6
travis: use cached nim instead of docker
2018-09-02 09:43:44 -06:00
coffeepots
0acb6997c7
Tests for option types
2018-08-29 14:16:03 +03:00
coffeepots
40e2c83023
Added allowNull to expectType
2018-08-29 14:16:03 +03:00
coffeepots
e7f66a0b4d
Support Option[T] types, added expectType, expect error to use [] in msgs
2018-08-29 14:16:03 +03:00
coffeepots
f6ad1fd1c7
Update to SomeInteger
2018-08-16 13:07:21 +03:00
coffeepots
13a9a1f58b
Add ref int and ref int64
2018-08-16 13:07:21 +03:00
coffeepots
3bcc481c9b
Merge pull request #30 from enthus1ast/patch-1
...
fix example in readme
2018-08-13 19:18:25 +01:00
David Krause
d9678bab25
fix example in readme
2018-08-11 14:07:44 +02:00
Zahary Karadjov
642fdd591f
fix the package structure to make Nimble happy
2018-07-20 19:34:10 +03:00
coffeepots
d7b95877fc
Merge pull request #26 from jangko/fix18
...
fixes #18 , rpc macro now can accept multiple variables of one type
2018-07-18 21:17:20 +01:00
andri lim
be5107041b
add comments to recently added codes
2018-07-17 10:39:22 +07:00
andri lim
4aedb214b6
fixes #18 , rpc macro now can accept multiple variables of one type
2018-07-17 10:06:29 +07:00
coffeepots
a109e7a1f8
Merge pull request #25 from status-im/httprpc
...
HTTP-JSONRPC
2018-07-16 09:17:24 +01:00
coffeepots
db7101c08d
Revert "Include httputils"
...
This reverts commit c3647e2804
.
2018-07-15 15:48:28 +01:00
coffeepots
c3647e2804
Include httputils
2018-07-14 11:51:20 +01:00
cheatfate
19b3b3aa6d
Cosmetic changes.
2018-07-14 11:25:27 +03:00
cheatfate
989c999dc7
Fix suite name in testhttp.
2018-07-14 11:01:05 +03:00
cheatfate
0942b0387d
Add RpcHttpServer.
...
Add RpcHttpClient.
2018-07-14 10:51:54 +03:00
coffeepots
24ee0c9505
Add missing title markdown
2018-07-13 17:32:06 +01:00
coffeepots
2b1c138ad2
Details on marshalling support
2018-07-13 17:27:28 +01:00
coffeepots
3c0bdf8edb
Formatting updates
2018-07-13 16:47:17 +01:00
coffeepots
8b42296553
Cosmetic spacing update
2018-07-13 16:36:06 +01:00
coffeepots
591b69c3f7
Update documentation
2018-07-13 16:34:50 +01:00
coffeepots
e29850f1d5
Merge pull request #24 from status-im/AgnosticClient
...
Agnostic client
2018-07-12 19:15:20 +01:00
coffeepots
1ca1847600
Make client usable with different transports
2018-07-12 18:36:40 +01:00
coffeepots
6466b7e778
Update tests with newRpcSocketClient
2018-07-12 14:08:43 +01:00
coffeepots
8d3473e75b
Renamed newStreamClient to newSocketClient, added a check for nil transport
2018-07-12 14:06:35 +01:00
coffeepots
e3a7ffd121
Merge rpcsocket into rpcserver
2018-07-12 09:43:44 +01:00
coffeepots
3da2738e27
Fix gcsafe error in debug, use getOrDefault instead of {}
2018-07-12 09:23:38 +01:00
coffeepots
49085bbd28
Simplify error trapping
2018-07-11 21:49:08 +01:00