Expand description
Requests to a service on the user’s own Hammer sync server, such as languagetool, through
hammer_server_request. Hammer sends them as the signed-in user, so the plugin never holds their
credentials, and only to the services the manifest names under permissions.hammerServer.
languagetool has typed functions for the languagetool service.
Modules§
- languagetool
- LanguageTool on the user’s sync server: the
languagetoolservice, which forwards to the LanguageTool server its admin set up. The manifest names it underpermissions.hammerServer:
Structs§
Enums§
- Error
Kind - Why a request failed: the first five are from Hammer, before any reply; the rest are what Response::error makes of a reply’s status.
Functions§
- request
- Sends a request to
service, atpathunder it (such as/v2/check), and waits for its response.methodisGETorPOST; onlyContent-TypeandAcceptheaders are sent. A response of any status is Ok.