Merge pull request #2056 from endobson/op-type-doc

Fix docs on grpc_op_type.
pull/2066/head
Craig Tiller 10 years ago
commit b68bcd366f
  1. 4
      include/grpc/grpc.h

@ -221,7 +221,7 @@ typedef enum {
GRPC_OP_SEND_INITIAL_METADATA = 0, GRPC_OP_SEND_INITIAL_METADATA = 0,
/* Send a message: 0 or more of these operations can occur for each call */ /* Send a message: 0 or more of these operations can occur for each call */
GRPC_OP_SEND_MESSAGE, GRPC_OP_SEND_MESSAGE,
/* Send a close from the server: one and only one instance MUST be sent from /* Send a close from the client: one and only one instance MUST be sent from
the client, the client,
unless the call was cancelled - in which case this can be skipped */ unless the call was cancelled - in which case this can be skipped */
GRPC_OP_SEND_CLOSE_FROM_CLIENT, GRPC_OP_SEND_CLOSE_FROM_CLIENT,
@ -240,7 +240,7 @@ typedef enum {
the status will indicate some failure. the status will indicate some failure.
*/ */
GRPC_OP_RECV_STATUS_ON_CLIENT, GRPC_OP_RECV_STATUS_ON_CLIENT,
/* Receive status on the server: one and only one must be made on the server /* Receive close on the server: one and only one must be made on the server
*/ */
GRPC_OP_RECV_CLOSE_ON_SERVER GRPC_OP_RECV_CLOSE_ON_SERVER
} grpc_op_type; } grpc_op_type;

Loading…
Cancel
Save