예제 #1
0
        public void Send(StateObject state)
        {
            RealTimeProtocol protocol = new RealTimeProtocol(state);

            server.Send(State.workSocket, protocol.AppendBody(state.Body));
        }
예제 #2
0
        public void Send(Verb verb, string nameMethod, string section, string body)
        {
            RealTimeProtocol protocol = new RealTimeProtocol(verb, nameMethod, section, body.Length);

            server.Send(State.workSocket, protocol.AppendBody(body));
        }