Home | History | Annotate | Download | only in c

Lines Matching refs:Close

64  * This enumeration contains status codes. These codes are used in Close() and
71 * <code>PP_WEBSOCKETSTATUSCODE_USER_PRIVATE_MAX</code> are valid for Close().
77 * (Note that the code 1005 is forbidden to send in actual close frames by
79 * appear in the actual close frames.)
107 * Pseudo code to indicate that receiving close frame doesn't contain any
251 * Close() closes the specified WebSocket connection by specifying
257 * @param[in] code The WebSocket close code. This is ignored if it is
267 * close reason. This is ignored if it is <code>PP_VARTYPE_UNDEFINED</code>.
283 * Returns <code>PP_ERROR_INPROGRESS</code> if a previous call to Close() is
286 int32_t (*Close)(PP_Resource web_socket,
353 * GetCloseCode() returns the connection close code for the WebSocket
359 * @return Returns 0 if called before the close code is set.
363 * GetCloseReason() returns the connection close reason for the WebSocket
370 * close reason is set, the return value contains an empty string. Returns a