docs
This commit is contained in:
1 parent
2a192b1bef
commit
849bbfe20b
1 file changed
+17
@@ -274,6 +274,23 @@ Removes the proxy from a container, reverting to direct connection.
|
|||||||
|
|
||||||
**Returns:** `boolean` - `true` if detached successfully, `false` otherwise.
|
**Returns:** `boolean` - `true` if detached successfully, `false` otherwise.
|
||||||
|
|
||||||
|
### `fplay.get_cookies(ws, filters = {})`
|
||||||
|
|
||||||
|
Get cookies.
|
||||||
|
|
||||||
|
- `ws` (`WebSocket`) - Active browser connection.
|
||||||
|
- `filters` (`filters`) - Filters to use to get cookies back. Passing `{}` returns all headers for all containers.
|
||||||
|
- `storeId` (`string`) - Match a specific container ID
|
||||||
|
- `domain` (`string`) - Match a specific domain
|
||||||
|
- `secure` (`boolean`) - Match cookies that are secure
|
||||||
|
- `session` (`boolean`) - Match session-only cookies
|
||||||
|
- `name` (`string`) - Match a cookie name
|
||||||
|
- `path` (`string`) - Match cookies issued for a certain path
|
||||||
|
- `url` (`string`) - Match cookies issued for a certain URL
|
||||||
|
- `firstPartyDomain` (`string`) - Match first party domain, where supported
|
||||||
|
|
||||||
|
**Returns:** `Array<object>` (each object contains `name`, `value`, `domain`, `hostOnly`, `path`, `secure`, `httpOnly`, `sameSite`, `session`, `expirationDate`, `storeId`).
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Events
|
## Events
|
||||||
|
|||||||
Reference in new issue
Block a user