This repository has been archived by the owner on Mar 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 877
API
elitwo edited this page Aug 26, 2021
·
1 revision
-
request
Request -
response
Response
-
request
Request -
socket
Socket -
head
Head
- Bundles scripts for client injection. Important when updating proxy.
-
val
String -
config
Configuration-
base
WHATWG URL -
origin
Location origin - Adds a location origin before the proxy url -
flags
Array -['xhr']
=>/service/xhr_/https%3A%2F%2Fexample.org/
-
-
val
String -
config
Configuration-
origin
Location origin - Required if a location origin starts before the proxy url -
flags
Boolean - Returns with both the URL and flags found{ value: 'https://example.org', flags: ['xhr'] }
-
leftovers
Boolean - Use any leftovers if any after the encoded proxy url
-
-
regex
Regex used to determine to rewrite the URL or not. -
prefix
URL Prefix -
codec
(base64, plain, xor)
-
source
Javascript Source -
url
URL for heading
-
ast
Javascript AST -
Callback
Handler initated on AST node
-
url
URL for heading
-
callee
Acorn.js Node -
args
Array
-
elements
Array
-
name
Identifier name -
preventRewrite
Prevent further rewrites
-
value
Literal value
-
source
CSS -
config
Configuration-
base
WHATWG URL -
origin
Location origin -
context
CSS-Tree context
-
-
source
HTML Source -
config
Configuration-
document
Determines of its a document or fragment for parsing -
base
WHATWG URL -
origin
Location origin
-
-
processed
Rewritten HTML -
config
Configuration-
document
Determines of its a document or fragment for parsing
-
-
map
Map for attribute rewriting
-
input
New (Cookie / Cookies) -
config
Configuration-
url
WHATWG URL -
domain
Cookie Domain -
secure
Cookie Secure
-
-
store
Encoded Cookies -
config
Configuration-
url
WHATWG URL
-
-
str
String
-
str
String