ryanc414
9357280fce
rpc: add HTTPError type for HTTP error responses ( #22677 )
...
The new error type is returned by client operations contains details of
the response error code and response body.
Co-authored-by: Felix Lange <fjl@twurst.com>
2021-04-21 15:51:30 +02:00
Felix Lange
27b31371d4
rpc: add separate size limit for websocket ( #22385 )
...
This makes the WebSocket message size limit independent of the
limit used for HTTP requests. The new limit for WebSocket messages
is 15MB.
2021-02-26 13:40:35 +01:00
Steven E. Harris
9887edd580
rpc: add explicit 200 response for empty HTTP GET ( #20952 )
2020-04-28 10:43:21 +02:00
Péter Szilágyi
555f42cfd8
rpc: enforce the 128KB request limits on websockets too
2018-03-13 13:55:26 +02:00
Vitaly V
f258a21a63
rpc: use method constants instead of literal strings ( #15652 )
2017-12-12 19:12:32 +01:00
Zach
3da1bf8ca1
all: use gometalinter.v2, fix new gosimple issues ( #15650 )
2017-12-12 19:05:47 +01:00
Péter Szilágyi
3c6b9c5d72
rpc: minor cleanups to RPC PR
2017-11-17 14:25:02 +02:00
Armani Ferrante
c5b8569707
rpc: disallow PUT and DELETE on HTTP ( #15501 )
...
Fixes #15493
2017-11-17 13:07:11 +01:00