0.0.4 • Published 11 months ago
capacitor-plugin-useragent v0.0.4
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; }>