rpa-client-core
TypeScript icon, indicating that this package has built-in type declarations

0.0.27 • Public • Published

rpa-client-core

exports { Core, cliConfig }

Core

singleton Core.getInstence: () => Core

methods:

connect: () => Promise<{msg: string, data: {username: string, id; string}, success: boolean}> login: (username: string, password: string) => Promise<{msg: string, data: {username: string, id; string}, success: boolean}> // username 并非账号

signout: () => void terminate: () => void closeBrowser: () => void

public members:

log$: rxjs.Subject< string>

cliConfig

methods:

get: (key) => string

set: (key: string, val: string) => boolean

feed url

get http://{base}/feed/

upload: post http://{base}/feed/upload content-type: multipart/form-data 参数是两个键值对 manifest 对应yaml pack 对应exe

Readme

Keywords

Package Sidebar

Install

npm i rpa-client-core

Weekly Downloads

5

Version

0.0.27

License

MIT

Unpacked Size

134 kB

Total Files

60

Last publish

Collaborators

  • lichaoran