Skip to content

thankspedia/ws-tether

Repository files navigation

Asynchronous-Context-RPC

This is an Web API framework which is resembling to traditional Remote Procedure Call. This module is developed as a subproject of Kombucha.js framework. For further information, see the documentation of Kombucha.js.

Command Utilities

  • bin/start-http-middleware-service.js
  • bin/start-service.js
  • bin/start-ws-service.js
SETTINGS='path-to-settings-file.settings' start-service
SETTINGS='path-to-settings-file.settings' start-ws-service
  require( 'asynchronous-context/settings' ).filenameOfSettings( './ws-callapi-test-context-factory.settings.json' );

API Reference

Coming soon.

History

  • (Mon, 16 Oct 2023 19:52:10 +0900) Create README.md.
  • (Wed, 18 Oct 2023 20:42:04 +0900) Removed unnecessary files from the package.

Memo

How to call a method in http method GET

const result = await backend.OVERRIDE({method:'GET'}).call_method_foo_bar( 1,2,3 );

This feature was added on (Thu, 18 May 2023 18:10:37 +0900)

REQUEST to OVERRIDE

OVERRIDE was formerly REQUEST; it is modified on (Thu, 01 Jun 2023 14:59:25 +0900).

About

Implement persistent WebSocket connection

Resources

License

Stars

Watchers

Forks

Packages

No packages published