@plurnk/plurnk-schemes-http 1.14.2 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -4
- package/SPEC.md +9 -9
- package/dist/Http.d.ts.map +1 -1
- package/dist/Http.js +93 -464
- package/dist/Http.js.map +1 -1
- package/dist/HttpGet.d.ts +35 -0
- package/dist/HttpGet.d.ts.map +1 -0
- package/dist/HttpGet.js +299 -0
- package/dist/HttpGet.js.map +1 -0
- package/dist/HttpRequester.d.ts +23 -0
- package/dist/HttpRequester.d.ts.map +1 -0
- package/dist/HttpRequester.js +171 -0
- package/dist/HttpRequester.js.map +1 -0
- package/dist/LiveAcquisitions.d.ts +8 -0
- package/dist/LiveAcquisitions.d.ts.map +1 -0
- package/dist/LiveAcquisitions.js +27 -0
- package/dist/LiveAcquisitions.js.map +1 -0
- package/dist/WebFetcher.d.ts +2 -2
- package/dist/WebFetcher.d.ts.map +1 -1
- package/dist/WebFetcher.js +1 -1
- package/dist/WebFetcher.js.map +1 -1
- package/dist/Ws.d.ts.map +1 -1
- package/dist/Ws.js +5 -7
- package/dist/Ws.js.map +1 -1
- package/dist/http-names.d.ts +5 -0
- package/dist/http-names.d.ts.map +1 -0
- package/dist/http-names.js +6 -0
- package/dist/http-names.js.map +1 -0
- package/docs/https.md +8 -7
- package/docs/wss.md +1 -2
- package/package.json +3 -2
package/docs/wss.md
CHANGED
|
@@ -14,8 +14,7 @@ that owner.
|
|
|
14
14
|
| `## READ0 (wss://host/path)` | Claim the address, connect, mark `messages` active on `open`, and stream inbound frames |
|
|
15
15
|
| A second READ of the same address | Return `409` until the existing owner's terminal cleanup releases the claim |
|
|
16
16
|
| `## EDIT0 (wss://host/path)` with body | Send one whole text frame through an already-open owner; ranges and batches are invalid |
|
|
17
|
-
| `## SEND0
|
|
18
|
-
| `## SEND0 [499] (wss://host/path)` | Cancel the owning READ through its routed subscription handle |
|
|
17
|
+
| `## SEND0 (wss://host/path)` with body | Send one whole text frame; it may follow the opening READ in the same turn |
|
|
19
18
|
| `## KILL0 (wss://host/path)` | Close or cancel the claimed owner; an address with no owner is `404` |
|
|
20
19
|
|
|
21
20
|
| Owner state | Meaning | EDIT or SEND with signal `200` |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plurnk/plurnk-schemes-http",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"description": "HTTP(S) request/response and WebSocket scheme handlers for the plurnk agent runtime.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plurnk",
|
|
@@ -74,9 +74,10 @@
|
|
|
74
74
|
"prepack": "npm run build"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@plurnk/plurnk-schemes": "^1.
|
|
77
|
+
"@plurnk/plurnk-schemes": "^1.15.0"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
+
"@plurnk/plurnk-meta": "1.15.0",
|
|
80
81
|
"eventsource-parser": "^4.0.0"
|
|
81
82
|
}
|
|
82
83
|
}
|