AddCookie Method
Adds a cookie and the corresponding value to the outgoing request headers.
Syntax
async http.addCookie(cookieName : string, cookieValue : string): Promise<void>
Remarks
This property adds a cookie and the corresponding value to the outgoing request headers. Please refer to the Cookies property for more information on cookies and how they are managed.