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.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CookieContainer():
CookieContainer
Returns
Section titled “Returns”CookieContainer
Methods
Section titled “Methods”setCookie()
Section titled “setCookie()”setCookie(
host,url,cookie):void
Adds a cookie that requests using this container send to url. Needs init().
Parameters
Section titled “Parameters”string
The host the cookie belongs to, for example example.com.
string
The URL the cookie applies to, starting with http:// or https://.
cookie
Section titled “cookie”string
A Set-Cookie-style value, for example session=abc; Path=/.
Returns
Section titled “Returns”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.
© 2026 HagiCode | Powered By hagilight-starlight@0.23.0 | Branch: main | Commit: 7164ec7 | Built:
