@selfage/web_service_client v3.3.2
@selfage/web_service_client
Install
npm install @selfage/web_service_client
Overview
Written in TypeScript and compiled to ES6 with inline source map & source. See @selfage/tsconfig for full compiler options. Provides a type-safe client to call services from web browsers, with service descriptors are generated by @selfage/generator_cli.
Example usages
In this repo, test_data/get_comments.ts, test_data/get_history.ts, and test_data/upload_file.ts are code presumably generated by @selfage/generator_cli.
Then test_data/get_comments_test.ts contains the most basic usage. test_data/get_history_test.ts handles authentication. And test_data/upload_file_test.ts handles streaming bytes data.
The other test files also include error handling.
1 year ago
1 year ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
9 months ago
10 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago