Jump to main content

##

# TCPIP)HTTP_NET_MODULE_FLAGS Enumeration

## C

    typedef enum {
        TCPIP_HTTP_NET_MODULE_FLAG_DEFAULT = 0x00,
        TCPIP_HTTP_NET_MODULE_FLAG_NON_PERSISTENT = 0x01,
        TCPIP_HTTP_NET_MODULE_FLAG_NO_DELAY = 0x02,
        TCPIP_HTTP_NET_MODULE_FLAG_SECURE_ON = 0x10,
        TCPIP_HTTP_NET_MODULE_FLAG_SECURE_OFF = 0x20,
        TCPIP_HTTP_NET_MODULE_FLAG_SECURE_DEFAULT = 0x00
    } TCPIP_HTTP_NET_MODULE_FLAGS;

## Description

HTTP module configuration flags. Multiple flags can be OR-ed.

## Members

Members | Description
--- | ---
TCPIP_HTTP_NET_MODULE_FLAG_DEFAULT = 0x00 | Default flags value.
TCPIP_HTTP_NET_MODULE_FLAG_NON_PERSISTENT = 0x01 | Use non-persistent connections. This flag will cause the HTTP connections to be non-persistent and closed after serving each request to the client. By default the HTTP connections are persistent.
TCPIP_HTTP_NET_MODULE_FLAG_NO_DELAY = 0x02 | Create the HTTP sockets with NO-DELAY option. It will flush data as soon as possible.
TCPIP_HTTP_NET_MODULE_FLAG_SECURE_ON = 0x10 | All HTTP connections have to be secure (supposing the network presentation layer supports encryption). Cannot be used together with TCPIP_HTTP_NET_MODULE_FLAG_SECURE_OFF.
TCPIP_HTTP_NET_MODULE_FLAG_SECURE_OFF = 0x20 | HTTP connections will be non-secure. Cannot be used together with TCPIP_HTTP_NET_MODULE_FLAG_SECURE_ON.
TCPIP_HTTP_NET_MODULE_FLAG_SECURE_DEFAULT = 0x00 | HTTP security is based on the port numbers.