GNU libmicrohttpd 0.9.77
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 2107 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 2113 of file microhttpd.h.

◆ client_addr

struct sockaddr* MHD_ConnectionInfo::client_addr

Address information for the client.

Definition at line 2160 of file microhttpd.h.

◆ client_cert

void* MHD_ConnectionInfo::client_cert

GNUtls client certificate handle, of type "gnutls_x509_crt_t".

Definition at line 2155 of file microhttpd.h.

◆ connect_fd

MHD_socket MHD_ConnectionInfo::connect_fd

Connect socket

Definition at line 2140 of file microhttpd.h.

◆ 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 2130 of file microhttpd.h.

◆ daemon

struct MHD_Daemon* MHD_ConnectionInfo::daemon

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

Definition at line 2166 of file microhttpd.h.

◆ header_size

size_t MHD_ConnectionInfo::header_size

Size of the client's HTTP header.

Definition at line 2145 of file microhttpd.h.

◆ http_status

unsigned int MHD_ConnectionInfo::http_status

HTTP status queued with the response, for MHD_CONNECTION_INFO_HTTP_STATUS.

Definition at line 2135 of file microhttpd.h.

◆ protocol

int MHD_ConnectionInfo::protocol

Protocol used, of type "enum gnutls_protocol".

Definition at line 2118 of file microhttpd.h.

◆ 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 2172 of file microhttpd.h.

◆ suspended

int MHD_ConnectionInfo::suspended

The suspended status of a connection.

Definition at line 2123 of file microhttpd.h.

◆ tls_session

void* MHD_ConnectionInfo::tls_session

GNUtls session handle, of type "gnutls_session_t".

Definition at line 2150 of file microhttpd.h.


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