Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IdpGie.Engines.HttpEngine"/> class with a specified <see cref="TcpClient"/> and <see cref="OutputHttpServerDevice"/>.
 /// </summary>
 /// <param name='client'>
 /// A <see cref="TcpClient"/> instance that contains information about the page request and a <see cref="Stream"/> to write a response back.
 /// </param>
 /// <param name='device'>
 /// A <see cref="OutputHttpServerDevice"/> instance that contains the <see cref="IDrawTheory"/>.
 /// </param>
 public HttpEngine(TcpClient client, OutputHttpServerDevice device)
     : this(client,device.Theory)
 {
     this.device = device;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IdpGie.Engines.HttpEngine"/> class with a specified <see cref="TcpClient"/> and <see cref="OutputHttpServerDevice"/>.
 /// </summary>
 /// <param name='client'>
 /// A <see cref="TcpClient"/> instance that contains information about the page request and a <see cref="Stream"/> to write a response back.
 /// </param>
 /// <param name='device'>
 /// A <see cref="OutputHttpServerDevice"/> instance that contains the <see cref="IDrawTheory"/>.
 /// </param>
 public HttpEngine(TcpClient client, OutputHttpServerDevice device) : this(client, device.Theory)
 {
     this.device = device;
 }