init_incoming method

void init_incoming(
  1. IncomingRequest request
)

Implementation

void init_incoming(IncomingRequest request) {
  _direction = 'incoming';
  _request = request;

  request.reply(200);

  _contentType = request.getHeader('content-type');
  _body = request.body;

  _session.newInfo('remote', this, request);
}