@selfage/web_service_client
TypeScript icon, indicating that this package has built-in type declarations

2.4.0 • Public • Published

@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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.4.03latest

Version History

VersionDownloads (Last 7 Days)Published
2.4.03
2.3.01
2.2.01
2.1.01
2.0.11
2.0.01
1.5.20
1.5.10
1.5.00
1.4.00
1.3.12
1.3.00
1.2.00
1.1.30
1.1.20
1.1.10
1.1.00
1.0.00

Package Sidebar

Install

npm i @selfage/web_service_client

Weekly Downloads

10

Version

2.4.0

License

GPL-3.0-or-later

Unpacked Size

68.3 kB

Total Files

15

Last publish

Collaborators

  • teststaybaka