GNU libmicrohttpd  0.9.29
MHD_ConnectionInfo Union Reference

#include <microhttpd.h>

Data Fields

int cipher_algorithm
 
int protocol
 
int suspended
 
unsigned int connection_timeout
 
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 1653 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 1659 of file microhttpd.h.

◆ client_addr

struct sockaddr* MHD_ConnectionInfo::client_addr

Address information for the client.

Definition at line 1701 of file microhttpd.h.

◆ client_cert

void* MHD_ConnectionInfo::client_cert

GNUtls client certificate handle, of type "gnutls_x509_crt_t".

Definition at line 1696 of file microhttpd.h.

◆ connect_fd

MHD_socket MHD_ConnectionInfo::connect_fd

Connect socket

Definition at line 1681 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 1676 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 1707 of file microhttpd.h.

◆ header_size

size_t MHD_ConnectionInfo::header_size

Size of the client's HTTP header.

Definition at line 1686 of file microhttpd.h.

◆ protocol

int MHD_ConnectionInfo::protocol

Protocol used, of type "enum gnutls_protocol".

Definition at line 1664 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 1713 of file microhttpd.h.

◆ suspended

int MHD_ConnectionInfo::suspended

The suspended status of a connection.

Definition at line 1669 of file microhttpd.h.

◆ tls_session

void* MHD_ConnectionInfo::tls_session

GNUtls session handle, of type "gnutls_session_t".

Definition at line 1691 of file microhttpd.h.


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