public VirtualWebSocketHandler(Dictionary <string, string> forms,
                                RemotingClientHandler.SendDataHandler sendFunc,
                                Func <int> waitForCloseFunc,
                                Func <int> closeConFunc,
                                string clientip, string referer, RemotingClientHandler.GetHeaderValueHandler getHeaderValueHandler)
 {
     _Referer               = referer;
     mCloseConnectionFunc   = closeConFunc;
     mClientIP              = clientip;
     mRequestForms          = forms;
     mSendFunc              = sendFunc;
     mWaitForCloseFunc      = waitForCloseFunc;
     _GetHeaderValueHandler = getHeaderValueHandler;
 }
Пример #2
0
 internal RequestHeaderCollection(RemotingClientHandler.GetHeaderValueHandler getHeaderValueHandler)
 {
     _GetHeaderValueHandler = getHeaderValueHandler;
 }