capacitor-plugin-useragent
v0.0.5
Published
Allows you to change your User-Agent for HTTP requests.
Downloads
1,224
Readme
capacitor-plugin-useragent
Allows you to change your User-Agent for HTTP requests.
Install
npm install capacitor-plugin-useragent
npx cap sync
API
set(...)
set(options: { value: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options
| { value: string; } |
Returns: Promise<{ value: string; }>
get()
get() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
reset()
reset() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>