Poq.SDK.Node

Home > @poq/sdk > HttpCookieResponse

HttpCookieResponse class

Http cookie represnetation model.

Signature:

export declare class HttpCookieResponse extends PoqContract 

Extends: PoqContract

Constructors

Constructor Modifiers Description
(constructor)(params)   Constructs a new instance of the HttpCookieResponse class

Properties

Property Modifiers Type Description
comment   string | undefined Cookie comment extension.
commentUrl   string | undefined Cookie comment url extension.
domain   string | undefined Cookie domain.
expireDate   Date | undefined Cookie expiration date.
isHttpOnly   boolean Cookie field that tells whether it is http only.
isSecure   boolean Cookie extension field that tells whether it is secure.
isSessionOnly   boolean Cookie extension field that tells whether it is session only.
name   string Cookie name.
path   string | undefined Cookie path.
port   string | undefined Cookie port extension.
rawValue   string | undefined Cookie additional field to represent it in a string format.
value   string Cookie value.

Methods

Method Modifiers Description
parse(cookieString) static Method helps to parse cookie string into HttpCookieResponse
stringify(cookie) static Method transforms HttpCookieResponse into string representation.