/// <summary> /// Begins this HTTP Web request. /// </summary> public virtual void Send() { try { // Start the asynchronous operation _request.BeginGetRequestStream(new AsyncCallback(GetRequestStreamCallback), this); _isSending = true; } catch (Exception ex) { if (_listener != null) { _listener.OnConnectException(ex, _messages); } else { logger.Error(ex); // DEBUG } _transport.RemoveRequest(this); } }