GNU libmicrohttpd  0.9.59
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 1646 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 1652 of file microhttpd.h.

◆ client_addr

struct sockaddr* MHD_ConnectionInfo::client_addr

Address information for the client.

Definition at line 1694 of file microhttpd.h.

◆ client_cert

void* MHD_ConnectionInfo::client_cert

GNUtls client certificate handle, of type "gnutls_x509_crt_t".

Definition at line 1689 of file microhttpd.h.

◆ connect_fd

MHD_socket MHD_ConnectionInfo::connect_fd

Connect socket

Definition at line 1674 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 1669 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 1700 of file microhttpd.h.

◆ header_size

size_t MHD_ConnectionInfo::header_size

Size of the client's HTTP header.

Definition at line 1679 of file microhttpd.h.

◆ protocol

int MHD_ConnectionInfo::protocol

Protocol used, of type "enum gnutls_protocol".

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

◆ suspended

int MHD_ConnectionInfo::suspended

The suspended status of a connection.

Definition at line 1662 of file microhttpd.h.

◆ tls_session

void* MHD_ConnectionInfo::tls_session

GNUtls session handle, of type "gnutls_session_t".

Definition at line 1684 of file microhttpd.h.


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