public AwsHttpResult(AwsHttpResponse response, object context, DateTime start_time, DateTime end_time) { response_ = response; context_ = context; start_time_ = start_time; end_time_ = end_time; }
public SocketTask(Executor executor, AwsHttpRequest request, object context, ResponseCallback response_cb, SocketReturn socketReturn, DateTime deadline, DateTime expiration, int timeout) : base(deadline, expiration) { executor_ = executor; raw_request_ = request.to_string(); context_ = context; response_cb_ = response_cb; socketReturn_ = socketReturn; timeout_ = timeout; response_ = new AwsHttpResponse(); finished_ = false; }