Click or drag to resize

SystemOptionsServicesGetServerVariables Method


Retrieves all built-in HTTP server variables. These server variable are part of W3C HTTP specifications

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<UniqueObject[]> GetServerVariables()

Return Value

Type: XHRServiceResponseGenericUniqueObject

Array of all built-in HTTP server variables

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": [{
        "name": "ALL_HTTP",
        "id": "ALL_HTTP"
    }, {
        "name": "ALL_RAW",
        "id": "ALL_RAW"
    }, {
        "name": "APPL_MD_PATH",
        "id": "APPL_MD_PATH"
    }, {
        "name": "APPL_PHYSICAL_PATH",
        "id": "APPL_PHYSICAL_PATH"
    }, {
        "name": "AUTH_TYPE",
        "id": "AUTH_TYPE"
    }, {
        "name": "AUTH_USER",
        "id": "AUTH_USER"
    }, {
        "name": "AUTH_PASSWORD",
        "id": "AUTH_PASSWORD"
    }, {
        "name": "LOGON_USER",
        "id": "LOGON_USER"
    }, {
        "name": "REMOTE_USER",
        "id": "REMOTE_USER"
    }, {
        "name": "CERT_COOKIE",
        "id": "CERT_COOKIE"
    }, {
        "name": "CERT_FLAGS",
        "id": "CERT_FLAGS"
    }, {
        "name": "CERT_ISSUER",
        "id": "CERT_ISSUER"
    }, {
        "name": "CERT_KEYSIZE",
        "id": "CERT_KEYSIZE"
    }, {
        "name": "CERT_SECRETKEYSIZE",
        "id": "CERT_SECRETKEYSIZE"
    }, {
        "name": "CERT_SERIALNUMBER",
        "id": "CERT_SERIALNUMBER"
    }, {
        "name": "CERT_SERVER_ISSUER",
        "id": "CERT_SERVER_ISSUER"
    }, {
        "name": "CERT_SERVER_SUBJECT",
        "id": "CERT_SERVER_SUBJECT"
    }, {
        "name": "CERT_SUBJECT",
        "id": "CERT_SUBJECT"
    }, {
        "name": "CONTENT_LENGTH",
        "id": "CONTENT_LENGTH"
    }, {
        "name": "CONTENT_TYPE",
        "id": "CONTENT_TYPE"
    }, {
        "name": "GATEWAY_INTERFACE",
        "id": "GATEWAY_INTERFACE"
    }, {
        "name": "HTTPS",
        "id": "HTTPS"
    }, {
        "name": "HTTPS_KEYSIZE",
        "id": "HTTPS_KEYSIZE"
    }, {
        "name": "HTTPS_SECRETKEYSIZE",
        "id": "HTTPS_SECRETKEYSIZE"
    }, {
        "name": "HTTPS_SERVER_ISSUER",
        "id": "HTTPS_SERVER_ISSUER"
    }, {
        "name": "HTTPS_SERVER_SUBJECT",
        "id": "HTTPS_SERVER_SUBJECT"
    }, {
        "name": "INSTANCE_ID",
        "id": "INSTANCE_ID"
    }, {
        "name": "INSTANCE_META_PATH",
        "id": "INSTANCE_META_PATH"
    }, {
        "name": "LOCAL_ADDR",
        "id": "LOCAL_ADDR"
    }, {
        "name": "PATH_INFO",
        "id": "PATH_INFO"
    }, {
        "name": "PATH_TRANSLATED",
        "id": "PATH_TRANSLATED"
    }, {
        "name": "QUERY_STRING",
        "id": "QUERY_STRING"
    }, {
        "name": "REMOTE_ADDR",
        "id": "REMOTE_ADDR"
    }, {
        "name": "REMOTE_HOST",
        "id": "REMOTE_HOST"
    }, {
        "name": "REMOTE_PORT",
        "id": "REMOTE_PORT"
    }, {
        "name": "REQUEST_METHOD",
        "id": "REQUEST_METHOD"
    }, {
        "name": "SCRIPT_NAME",
        "id": "SCRIPT_NAME"
    }, {
        "name": "SERVER_NAME",
        "id": "SERVER_NAME"
    }, {
        "name": "SERVER_PORT",
        "id": "SERVER_PORT"
    }, {
        "name": "SERVER_PORT_SECURE",
        "id": "SERVER_PORT_SECURE"
    }, {
        "name": "SERVER_PROTOCOL",
        "id": "SERVER_PROTOCOL"
    }, {
        "name": "SERVER_SOFTWARE",
        "id": "SERVER_SOFTWARE"
    }, {
        "name": "URL",
        "id": "URL"
    }, {
        "name": "HTTP_CACHE_CONTROL",
        "id": "HTTP_CACHE_CONTROL"
    }, {
        "name": "HTTP_CONNECTION",
        "id": "HTTP_CONNECTION"
    }, {
        "name": "HTTP_PRAGMA",
        "id": "HTTP_PRAGMA"
    }, {
        "name": "HTTP_CONTENT_LENGTH",
        "id": "HTTP_CONTENT_LENGTH"
    }, {
        "name": "HTTP_CONTENT_TYPE",
        "id": "HTTP_CONTENT_TYPE"
    }, {
        "name": "HTTP_ACCEPT",
        "id": "HTTP_ACCEPT"
    }, {
        "name": "HTTP_ACCEPT_ENCODING",
        "id": "HTTP_ACCEPT_ENCODING"
    }, {
        "name": "HTTP_ACCEPT_LANGUAGE",
        "id": "HTTP_ACCEPT_LANGUAGE"
    }, {
        "name": "HTTP_COOKIE",
        "id": "HTTP_COOKIE"
    }, {
        "name": "HTTP_HOST",
        "id": "HTTP_HOST"
    }, {
        "name": "HTTP_REFERER",
        "id": "HTTP_REFERER"
    }, {
        "name": "HTTP_USER_AGENT",
        "id": "HTTP_USER_AGENT"
    }, {
        "name": "HTTP_X_IGX_XHR",
        "id": "HTTP_X_IGX_XHR"
    }, {
        "name": "HTTP_X_INSIGHT",
        "id": "HTTP_X_INSIGHT"
    }]
}
Remarks
The result is generated from the request going into the operation. If request included custom server variables, they will be included in the result too.
See Also