RemObjects.InternetPack.Http.AsyncHttpWorker.Setup C# (CSharp) Method

Setup() public method

public Setup ( ) : void
return void
		public override void Setup()
		{
			this.DataConnection.MaxLineLength = 8096;
			this.DataConnection.MaxLineLengthEnabled = true;
			this.DataConnection.AsyncDisconnect += DisconnectCallback;
			this.fContext = this.fOwner.NewContext(this);
			try
			{
				this.DataConnection.BeginReadLine(HeaderFirstLineCallback, null);
			}
			catch (SocketException)
			{
				Done();
			}
			catch (ObjectDisposedException)
			{
				Done();
			}
		}