plugeth/rpc
Steven Roose 952482d5e4 rpc: Support specifying HTTP client in RPC dialing (#15836)
* rpc: Support specifying HTTP client in RPC dialing

Adds a minimal interface that captures http.Client and adds a new method
rpc.DialHTTPClient that takes a client using that interface. The existing
rpc.DialHTTP method is then alternatively implemented by using the new
rpc.DialHTTPClient method provided with a standard *http.Client.

* rpc: fix minor doc typos
2018-01-24 10:59:15 +02:00
..
client_example_test.go all: import "context" instead of "golang.org/x/net/context" 2017-03-22 20:49:15 +01:00
client_test.go p2p: add network simulation framework (#14982) 2017-09-25 10:08:07 +02:00
client.go p2p: add network simulation framework (#14982) 2017-09-25 10:08:07 +02:00
doc.go README, core, rpc: fix various typos 2016-06-21 17:38:35 +01:00
errors.go rpc: add new client, use it everywhere 2016-07-22 23:21:27 +02:00
http_test.go rpc: use method constants instead of literal strings (#15652) 2017-12-12 19:12:32 +01:00
http.go rpc: Support specifying HTTP client in RPC dialing (#15836) 2018-01-24 10:59:15 +02:00
inproc.go all: import "context" instead of "golang.org/x/net/context" 2017-03-22 20:49:15 +01:00
ipc_unix.go all: import "context" instead of "golang.org/x/net/context" 2017-03-22 20:49:15 +01:00
ipc_windows.go all: import "context" instead of "golang.org/x/net/context" 2017-03-22 20:49:15 +01:00
ipc.go all: import "context" instead of "golang.org/x/net/context" 2017-03-22 20:49:15 +01:00
json_test.go all: fix go vet warnings 2016-04-15 11:17:27 +02:00
json.go rpc: support subscriptions under custom namespaces 2017-04-25 11:13:22 +02:00
server_test.go all: import "context" instead of "golang.org/x/net/context" 2017-03-22 20:49:15 +01:00
server.go rpc: fix megacheck warnings 2017-08-08 11:08:37 +02:00
subscription_test.go all: gofmt -w -s (#15419) 2017-11-08 11:45:52 +01:00
subscription.go rpc: fix megacheck warnings 2017-08-08 11:08:37 +02:00
types_test.go rpc: improve BlockNumber unmarshal parsing 2017-04-13 13:20:19 +02:00
types.go rpc: fix megacheck warnings 2017-08-08 11:08:37 +02:00
utils_test.go rpc: format filter ID according to spec for quantities 2016-09-01 11:50:13 +02:00
utils.go rpc: fix megacheck warnings 2017-08-08 11:08:37 +02:00
websocket.go rpc: warn on WebSocket origin mismatch (#15451) 2017-11-10 10:22:06 +01:00