Updated How to add custom license scheme yourself (markdown)
parent
d52f7d979f
commit
939952bccb
@ -30,10 +30,12 @@ See [Config files](https://github.com/FoxRefire/wvg/wiki/Config-files) for more
|
|||||||
|
|
||||||
# References of scheme file
|
# References of scheme file
|
||||||
|
|
||||||
*licUrl*: License URL as String
|
[*licUrl*](https://github.com/FoxRefire/wvg/blob/next/popup.js#L17): License URL as String
|
||||||
|
|
||||||
*licHeaders*: Headers as JSON object
|
[*licHeaders*](https://github.com/FoxRefire/wvg/blob/next/popup.js#L18): Headers as JSON object
|
||||||
|
|
||||||
*licBody*: Request payloads of License server as Base64 String
|
[*licBody*](https://github.com/FoxRefire/wvg/blob/next/popup.js#L19): Request payloads of License server as Base64 String. Use loadBody() API to able to load it in scheme.
|
||||||
|
|
||||||
*corsFetch()*: Use this method instead of pyfetch if the license server requires that the Origin header be set to the original domain.
|
[*corsFetch()*](https://github.com/FoxRefire/wvg/blob/next/python/pre.py#L47): Use this method instead of pyfetch if the license server requires that the Origin header be set to the original domain.
|
||||||
|
|
||||||
|
[*loadBody()*](https://github.com/FoxRefire/wvg/blob/next/python/pre.py#L67): Loads Base64 encoded requestBody into scheme
|
Loading…
Reference in New Issue
Block a user