Skip to content

CookieContainer

A cookie container for requests. Cookies stay in the Steam client for this process only and are not saved between runs. It is released when it is no longer referenced by JavaScript and no request is still using it.

new CookieContainer(): CookieContainer

CookieContainer

setCookie(host, url, cookie): void

Adds a cookie that requests using this container send to url. Needs init().

string

The host the cookie belongs to, for example example.com.

string

The URL the cookie applies to, starting with http:// or https://.

string

A Set-Cookie-style value, for example session=abc; Path=/.

void

Throws when an argument contains a NUL character or Steam refuses the cookie.

Turn ideas into shipped software.

HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.

Smart
OpenSpec workflows turn intent into a path from proposal to shipped change.
Efficient
Multi-agent execution runs research, build, and review in parallel.
Fun
Rich UI interactions make planning, agent work, and projects easier to follow.