|
|
|
@ -198,6 +198,8 @@ struct grpc_transport_stream_op_batch_payload { |
|
|
|
|
grpc_chttp2_grpc_status_to_http2_error. Send a RST_STREAM with this |
|
|
|
|
error. */ |
|
|
|
|
struct { |
|
|
|
|
// Error contract: the transport that gets this op must cause cancel_error
|
|
|
|
|
// to be unref'ed after processing it
|
|
|
|
|
grpc_error *cancel_error; |
|
|
|
|
} cancel_stream; |
|
|
|
|
|
|
|
|
@ -212,9 +214,13 @@ typedef struct grpc_transport_op { |
|
|
|
|
/** connectivity monitoring - set connectivity_state to NULL to unsubscribe */ |
|
|
|
|
grpc_closure *on_connectivity_state_change; |
|
|
|
|
grpc_connectivity_state *connectivity_state; |
|
|
|
|
/** should the transport be disconnected */ |
|
|
|
|
/** should the transport be disconnected
|
|
|
|
|
* Error contract: the transport that gets this op must cause |
|
|
|
|
* disconnect_with_error to be unref'ed after processing it */ |
|
|
|
|
grpc_error *disconnect_with_error; |
|
|
|
|
/** what should the goaway contain? */ |
|
|
|
|
/** what should the goaway contain?
|
|
|
|
|
* Error contract: the transport that gets this op must cause |
|
|
|
|
* goaway_error to be unref'ed after processing it */ |
|
|
|
|
grpc_error *goaway_error; |
|
|
|
|
/** set the callback for accepting new streams;
|
|
|
|
|
this is a permanent callback, unlike the other one-shot closures. |
|
|
|
|