Lines Matching full:connection
39 #define WEBSOCKET_FLAG_CLOSE 0x00000008 /**< Closing connection */
48 WEBSOCKET_OPCODE_CLOSE = 0x08, /**< Closing connection */
55 * @brief Callback called after Websocket connection is established.
61 * @return 0 if ok, <0 if there is an error and connection should be aborted
67 * Websocket client connection request. This contains all the data that is
68 * needed when doing a Websocket connection request.
91 /** User supplied callback function to call when a connection is
104 /** User supplied buffer where HTTP connection data is stored */
113 * called after connection is established. The returned value is a new socket
123 * @param timeout Max timeout to wait for the connection. The timeout value is
185 * the connection.
189 * @return <0 if error, 0 the connection was closed successfully
195 * when a connection is upgraded to a websocket connection.
197 * @param http_sock Underlying socket connection socket.
212 * @param ws_sock Websocket connection socket.
214 * @return <0 if error, 0 the websocket connection is now fully closed