WsResponse

The purpose of this class is to send the data to the client.  The instance of this class is available in the WsSession object as member variable.

        /// <summary>
        /// Set the deault Frame size
        /// </summary>
        /// <param name="defaultFrameSize"></param>
        public void SetDefaultFrameSize(long defaultFrameSize)

        /// <summary>
        /// Send the text data through the web socket
        /// </summary>
        /// <param name="data"></param>
        public void Send(string data)

        /// <summary>
        /// Send the data to all session objects in the application
        /// </summary>
        /// <param name="data"></param>
        public void Broadcast(string data)

        /// <summary>
        /// Send this data through the web socket
        /// </summary>
        /// <param name="data"></param>
        public void Send(byte[] data, Opcode opcode)

Last edited Jun 16, 2012 at 4:14 AM by chandru0507, version 3

Comments

No comments yet.