Beispiel #1
0
        // Send
        public void Send(HttpRequest httpRequest)
        {
            httpRequest.Host = NetworkUtil.GetAddress(Connection.Socket.RemoteEndPoint);

            Thread thread = new Thread(new ParameterizedThreadStart(RequestThread))
            {
                Priority = ThreadPriority.BelowNormal, IsBackground = true
            };

            thread.Start(httpRequest);
        }
Beispiel #2
0
        // Send
        public void Send(HttpRequest httpRequest)
        {
            httpRequest.Host = NetworkUtil.GetAddress(Socket.RemoteEndPoint);

            base.Send(httpRequest);
        }