Sergey Pastor / 1

Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

_WebSocket Struct Reference

_WebSocket Struct Reference

Structure describing a WebSocket. More...

#include <web_socket.h>

Data Fields

WebSocketEndpoint endpoint
 Endpoint type (client or server)
WebSocketState state
 WebSocket connection state.
systime_t timeout
 timeout value for blocking operations
NetInterface * interface
 Underlying network interface.
Socket * socket
 Underlying TCP socket.
TlsContext * tlsContext
 SSL/TLS context.
TlsSession tlsSession
 SSL/TLS session.
WebSocketTlsInitCallback tlsInitCallback
 SSL/TLS initialization callback function.

Detailed Description

Structure describing a WebSocket.

Definition at line 419 of file web_socket.h.


Field Documentation

Endpoint type (client or server)

Definition at line 421 of file web_socket.h.

NetInterface* interface

Underlying network interface.

Definition at line 432 of file web_socket.h.

Socket* socket

Underlying TCP socket.

Definition at line 433 of file web_socket.h.

WebSocket connection state.

Definition at line 422 of file web_socket.h.

systime_t timeout

timeout value for blocking operations

Definition at line 431 of file web_socket.h.

TlsContext* tlsContext

SSL/TLS context.

Definition at line 435 of file web_socket.h.

SSL/TLS initialization callback function.

Definition at line 437 of file web_socket.h.

SSL/TLS session.

Definition at line 436 of file web_socket.h.