libmicrohttpd2

HTTP server C library (MHD 2.x, alpha)
Log | Files | Refs | README | LICENSE

structs.inc (3732B)


      1 
      2 
      3 @deftp {C Struct} MHD_Connection
      4 Connection to an HTTP client. Since HTTP2, multiple
      5 sessions can be multiplexed over the same connection.
      6 @end deftp
      7 
      8 @deftp {C Struct} MHD_Session
      9 Since HTTP2, multiple sessions can run over the
     10 same connection.  In HTTP/1.x, there is a 1:1
     11 relationship between sessions and connections.
     12 Since HTTP/1.1, multiple requests can be run
     13 over the same session.
     14 @end deftp
     15 
     16 @deftp {C Struct} MHD_Request
     17 Handle for an HTTP request.
     18 MHD will only show one request per session
     19 to the application at any given time.
     20 @end deftp
     21 
     22 @deftp {C Struct} MHD_Action
     23 Next action to perform when handling a request.
     24 @end deftp
     25 
     26 @deftp {C Struct} MHD_UploadAction
     27 Action that processes data uploaded by a client.
     28 @end deftp
     29 
     30 @deftp {C Struct} MHD_DynamicContentCreatorAction
     31 Action that is used to dynamically create content.
     32 @end deftp
     33 
     34 @deftp {C Struct} MHD_Response
     35 Handle for a response.
     36 @end deftp
     37 
     38 @deftp {C Struct} MHD_UpgradedHandle
     39 Handle for response that has been "upgraded"
     40 (say to a WebSocket).
     41 @end deftp
     42 
     43 @deftp {C Struct} MHD_PostProcessor
     44 @cindex POST method
     45 Handle for @code{POST} processing.
     46 @end deftp
     47 
     48 @deftp {C Struct} MHD_AuthDigestInfo
     49 @cindex Authentication
     50 Represents information about a digest authorization
     51 client header. Includes the cryptographic algorithm,
     52 information about the user name, nonce and other
     53 optional data from the digest authentication request.
     54 @end deftp
     55 
     56 @deftp {C Struct} MHD_AuthDigestUsernameInfo
     57 @cindex Authentication
     58 Represents information about a digest authorization
     59 client header. Includes the cryptographic algorithm,
     60 information about the user name.
     61 @end deftp
     62 
     63 @deftp {C Struct} MHD_AuthBasicCreds
     64 @cindex Authentication
     65 Represents information from a basic authorization
     66 client header. Includes the username and password.
     67 @end deftp
     68 
     69 
     70 @deftp {C Struct} MHD_NameAndValueCStr
     71 Represents key-value pair, consisting of a
     72 to vanilla 0-terminated C-strings without
     73 explicit length field.
     74 @end deftp
     75 
     76 @deftp {C Struct} MHD_NameAndValue
     77 Represents key-value pair, consisting of a
     78 (non-NULL) string key and a (nullable) string
     79 value.  Used commonly to represent HTTP headers.
     80 @end deftp
     81 
     82 @deftp {C Struct} MHD_NameAndValueKind
     83 Adds a "kind" field to the @code{MHD_NameAndValue}
     84 to specify the origin of the key-value pair.
     85 @end deftp
     86 
     87 @deftp {C Struct} MHD_PostField
     88 Information about data uploaded as part of an
     89 HTTP "POST" action. Includes the name of the
     90 field, value of the field (possibly NULL), the
     91 filename (possibly NULL), the Mime content-type
     92 (possibly NULL) and the transfer encoding
     93 (possibly NULL).
     94 @end deftp
     95 
     96 @deftp {C Struct} MHD_IoVec
     97 An element of an array of memory buffers.
     98 @end deftp
     99 
    100 @deftp {C Union} MHD_DynContentZCIoVec
    101 Data structure with an array of
    102 @code{MHD_IoVec} IO vectors and a callback
    103 to free associated resources when the
    104 IO vectors are no longer needed.
    105 @end deftp
    106 
    107 @deftp {C Union} MHD_DaemonInfoFixedData
    108 Information about an MHD daemon that will not change.
    109 @end deftp
    110 
    111 @deftp {C Union} MHD_DaemonInfoDynamicData
    112 Information about an MHD daemon that may change.
    113 @end deftp
    114 
    115 @deftp {C Union} MHD_ConnectionInfoFixedData
    116 Information about an MHD connection that will not change.
    117 @end deftp
    118 
    119 @deftp {C Union} MHD_ConnectionInfoDynamicData
    120 Information about an MHD connection that may change.
    121 @end deftp
    122 
    123 @deftp {C Union} MHD_StreamInfoFixedData
    124 Information about an MHD stream that will not change.
    125 @end deftp
    126 
    127 @deftp {C Union} MHD_StreamInfoDynamicData
    128 Information about an MHD stream that may change.
    129 @end deftp
    130 
    131 @deftp {C Union} MHD_RequestInfoFixedData
    132 Information about an MHD request that will not change.
    133 @end deftp
    134 
    135 @deftp {C Union} MHD_RequestInfoDynamicData
    136 Information about an MHD request that may change.
    137 @end deftp