init_incoming method

void init_incoming(
  1. IncomingRequest request
)

Implementation

void init_incoming(IncomingRequest request) {
  _request = request;

  _newMessage('remote', request);

  // Reply with a 200 OK if the user didn't reply.
  if (_is_replied == null) {
    _is_replied = true;
    request.reply(200);
  }

  close();
}