websocket-server – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Net.Sockets;
6 using System.IO;
7  
8 namespace WebSockets.Server
9 {
10 public class ConnectionDetails
11 {
12 public Stream Stream { get; private set; }
13 public TcpClient TcpClient { get; private set; }
14 public ConnectionType ConnectionType { get; private set; }
15 public string Header { get; private set; }
16  
17 // this is the path attribute in the first line of the http header
18 public string Path { get; private set; }
19  
20 public ConnectionDetails (Stream stream, TcpClient tcpClient, string path, ConnectionType connectionType, string header)
21 {
22 Stream = stream;
23 TcpClient = tcpClient;
24 Path = path;
25 ConnectionType = connectionType;
26 Header = header;
27 }
28 }
29 }