GNU libmicrohttpd 1.0.0
Loading...
Searching...
No Matches
MHD_ConnectionInfo Union Reference

#include <microhttpd.h>

Data Fields

int cipher_algorithm
 
int protocol
 
int suspended
 
unsigned int connection_timeout
 
unsigned int http_status
 
MHD_socket connect_fd
 
size_t header_size
 
void * tls_session
 
void * client_cert
 
struct sockaddr * client_addr
 
struct MHD_Daemondaemon
 
void * socket_context
 

Detailed Description

Information about a connection.

Definition at line 2374 of file microhttpd.h.

Field Documentation

◆ cipher_algorithm

int MHD_ConnectionInfo::cipher_algorithm

Cipher algorithm used, of type "enum gnutls_cipher_algorithm".

Definition at line 2380 of file microhttpd.h.

Referenced by MHD_get_connection_info().

◆ client_addr

struct sockaddr* MHD_ConnectionInfo::client_addr

Address information for the client.

Definition at line 2429 of file microhttpd.h.

Referenced by MHD_get_connection_info().

◆ client_cert

void* MHD_ConnectionInfo::client_cert

GNUtls client certificate handle, of type "gnutls_x509_crt_t".

Definition at line 2424 of file microhttpd.h.

◆ connect_fd

MHD_socket MHD_ConnectionInfo::connect_fd

Connect socket

Definition at line 2407 of file microhttpd.h.

Referenced by MHD_get_connection_info().

◆ connection_timeout

unsigned int MHD_ConnectionInfo::connection_timeout

Amount of second that connection could spend in idle state before automatically disconnected. Zero for no timeout (unlimited idle time).

Definition at line 2397 of file microhttpd.h.

Referenced by MHD_get_connection_info().

◆ daemon

struct MHD_Daemon* MHD_ConnectionInfo::daemon

Which daemon manages this connection (useful in case there are many daemons running).

Definition at line 2435 of file microhttpd.h.

Referenced by MHD_get_connection_info().

◆ header_size

size_t MHD_ConnectionInfo::header_size

Size of the client's HTTP header. It includes the request line, all request headers, the header section terminating empty line, with all CRLF (or LF) characters.

Definition at line 2414 of file microhttpd.h.

Referenced by MHD_get_connection_info().

◆ http_status

unsigned int MHD_ConnectionInfo::http_status

HTTP status queued with the response, for MHD_CONNECTION_INFO_HTTP_STATUS.

Definition at line 2402 of file microhttpd.h.

Referenced by MHD_get_connection_info().

◆ protocol

int MHD_ConnectionInfo::protocol

Protocol used, of type "enum gnutls_protocol".

Definition at line 2385 of file microhttpd.h.

Referenced by MHD_get_connection_info().

◆ socket_context

void* MHD_ConnectionInfo::socket_context

Socket-specific client context. Points to the same address as the "socket_context" of the MHD_NotifyConnectionCallback.

Definition at line 2441 of file microhttpd.h.

Referenced by MHD_get_connection_info().

◆ suspended

int MHD_ConnectionInfo::suspended

The suspended status of a connection.

Definition at line 2390 of file microhttpd.h.

Referenced by MHD_get_connection_info().

◆ tls_session

void* MHD_ConnectionInfo::tls_session

GNUtls session handle, of type "gnutls_session_t".

Definition at line 2419 of file microhttpd.h.

Referenced by MHD_get_connection_info().


The documentation for this union was generated from the following file: