// Response provides access to the InboundCallResponse object which can be used
// to write back to the calling peer
Response provides access to the InboundCallResponse object which can be used
to write back to the calling peer
// Response provides access to the InboundCallResponse object which can be used // to write back to the calling peer
func (call *InboundCall) Response() *InboundCallResponse {
	if call.err != nil {
		call.response.err = call.err
	}
	return call.response
}
func ( call * InboundCall ) Response ( ) * InboundCallResponse { if call . err != nil { call . response . err = call . err } return call . response }
Response provides access to the InboundCallResponse object which can be used
to write back to the calling peer
Response provides access to the InboundCallResponse object which can be used to write back to the calling peer
// While reading Thrift, we cannot distinguish between malformed Thrift and other errors, // and so we may try to respond with a bad request. We should ensure that the response // is marked as failed if the request has failed so that we don't try to shutdown the exchange // a second time.