@protobuf-ts/twirp-transport
Version:
Twirp transport for clients generated by the protoc plugin "protobuf-ts".
460 lines (459 loc) • 19.4 kB
Plain Text
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
response (Empty) as json: {}
response (Empty) as protobuf: (0 bytes)
wrote response to stdout as protobuf
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: canceled
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: unknown
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: invalid_argument
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: deadline_exceeded
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: not_found
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: bad_route
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: already_exists
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: permission_denied
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: unauthenticated
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: resource_exhausted
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: failed_precondition
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: aborted
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: out_of_range
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: unimplemented
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: internal
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: unavailable
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: data_loss
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"METHOD","request":""}
request raw: (0 bytes)
request (Req) as json: {"v":""}
request (Req) as protobuf: (0 bytes)
calling CompatService.Method(Req)
response (Resp) as json: {"v":0}
response (Resp) as protobuf: (0 bytes)
wrote response to stdout as protobuf.
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58252","method":"METHOD","request":"CgV2YWx1ZQ=="}
request raw: 0x0A, 0x05, 0x76, 0x61, 0x6C, 0x75, 0x65 (7 bytes)
request (Req) as json: {"v":"value"}
request (Req) as protobuf: 0x0A, 0x05, 0x76, 0x61, 0x6C, 0x75, 0x65 (7 bytes)
calling CompatService.Method(Req)
response (Resp) as json: {"v":1}
response (Resp) as protobuf: 0x08, 0x01 (2 bytes)
wrote response to stdout as protobuf.
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58274","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: internal
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
response (Empty) as json: {}
response (Empty) as protobuf: (0 bytes)
wrote response to stdout as protobuf
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: canceled
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: unknown
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: invalid_argument
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: deadline_exceeded
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: not_found
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: bad_route
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: already_exists
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: permission_denied
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: unauthenticated
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: resource_exhausted
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: failed_precondition
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: aborted
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: out_of_range
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: unimplemented
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: internal
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: unavailable
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: data_loss
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"METHOD","request":""}
request raw: (0 bytes)
request (Req) as json: {"v":""}
request (Req) as protobuf: (0 bytes)
calling CompatService.Method(Req)
response (Resp) as json: {"v":0}
response (Resp) as protobuf: (0 bytes)
wrote response to stdout as protobuf.
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58458","method":"METHOD","request":"CgV2YWx1ZQ=="}
request raw: 0x0A, 0x05, 0x76, 0x61, 0x6C, 0x75, 0x65 (7 bytes)
request (Req) as json: {"v":"value"}
request (Req) as protobuf: 0x0A, 0x05, 0x76, 0x61, 0x6C, 0x75, 0x65 (7 bytes)
calling CompatService.Method(Req)
response (Resp) as json: {"v":1}
response (Resp) as protobuf: 0x08, 0x01 (2 bytes)
wrote response to stdout as protobuf.
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58479","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: internal
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
response (Empty) as json: {}
response (Empty) as protobuf: (0 bytes)
wrote response to stdout as protobuf
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: canceled
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: unknown
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: invalid_argument
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: deadline_exceeded
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: not_found
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: bad_route
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: already_exists
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: permission_denied
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: unauthenticated
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: resource_exhausted
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: failed_precondition
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: aborted
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: out_of_range
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: unimplemented
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: internal
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: unavailable
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: data_loss
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"METHOD","request":""}
request raw: (0 bytes)
request (Req) as json: {"v":""}
request (Req) as protobuf: (0 bytes)
calling CompatService.Method(Req)
response (Resp) as json: {"v":0}
response (Resp) as protobuf: (0 bytes)
wrote response to stdout as protobuf.
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58623","method":"METHOD","request":"CgV2YWx1ZQ=="}
request raw: 0x0A, 0x05, 0x76, 0x61, 0x6C, 0x75, 0x65 (7 bytes)
request (Req) as json: {"v":"value"}
request (Req) as protobuf: 0x0A, 0x05, 0x76, 0x61, 0x6C, 0x75, 0x65 (7 bytes)
calling CompatService.Method(Req)
response (Resp) as json: {"v":1}
response (Resp) as protobuf: 0x08, 0x01 (2 bytes)
wrote response to stdout as protobuf.
client exit
client start with message: {"serviceAddress":"http://127.0.0.1:58644","method":"NOOP","request":""}
request raw: (0 bytes)
request (Empty) as json: {}
request (Empty) as protobuf: (0 bytes)
calling CompatService.NoopMethod(Empty)
request failed, wrote code to stdout: internal
client exit