WSHelper types

The WSHelper library provides public variables and records.

Table 1. WSHelper library Types
Types Description
TYPE WSQueryType DYNAMIC ARRAY OF RECORD
    name  STRING,
    value STRING
  END RECORD
The WSQueryType defines a dynamic array of key-value pairs that stores the query string of a URL.
TYPE WSServerCookiesType DYNAMIC ARRAY OF RECORD
    name      STRING, # Cookie name
    value     STRING, # Cookie value
    path      STRING, # Cookie path (or null)
    domain    STRING, # Cookie domain (or null)
    expires   DATETIME YEAR TO SECOND, # Cookie expiration date (or null)
    httpOnly  BOOLEAN,
    secure    BOOLEAN
    sameSite  STRING # Lax (default), Strict, or None (requires secure)
  END RECORD
The WSHelper.WSServerCookiesType defines a dynamic array for storing cookies.