function Cookie(prefix, path, domain, secure) {
        if (prefix === void 0) {
            prefix = "";
        }
        if (path === void 0) {
            path = "/";
        }
        if (domain === void 0) {
            domain = "";
        }
        if (secure === void 0) {
            secure = false;
        }
        this.prefix = prefix;
        this.path = path;
        this.domain = domain;
        this.secure = secure;
        // TODO: Ensure the path is absolute, relative paths are not supported!
    }
/**
     * Create a new instance of the cookie container.
     *
     * @param prefix The prefix to apply to all cookies.
     * @param path The path that all cookies should be assigned to.
     * @param domain The domain that all cookies should be assigned to.
     * @param secure Whether cookies should be set as secure (HTTPS).
     */
Create a new instance of the cookie container.
@param prefix The prefix to apply to all cookies.
@param path The path that all cookies should be assigned to.
@param domain The domain that all cookies should be assigned to.
@param secure Whether cookies should be set as secure (HTTPS).
Create a new instance of the cookie container . @param prefix The prefix to apply to all cookies . @param path The path that all cookies should be assigned to . @param domain The domain that all cookies should be assigned to . @param secure Whether cookies should be set as secure ( HTTPS ) .
function Cookie(prefix, path, domain, secure) {
        if (prefix === void 0) {
            prefix = "";
        }
        if (path === void 0) {
            path = "/";
        }
        if (domain === void 0) {
            domain = "";
        }
        if (secure === void 0) {
            secure = false;
        }
        this.prefix = prefix;
        this.path = path;
        this.domain = domain;
        this.secure = secure;
    }
function Cookie ( prefix , path , domain , secure ) { if ( prefix === void 0 ) { prefix = "" ; } if ( path === void 0 ) { path = "/" ; } if ( domain === void 0 ) { domain = "" ; } if ( secure === void 0 ) { secure = false ; } this . prefix = prefix ; this . path = path ; this . domain = domain ; this . secure = secure ; }
Create a new instance of the cookie container.
Create a new instance of the cookie container .
// TODO: Ensure the path is absolute, relative paths are not supported!