HunterBeast on Nostr: I would recommend using either separate ports or separate RPC gateway paths, or, just ...
I would recommend using either separate ports or separate RPC gateway paths, or, just never closing the socket but instead making the RPC interface methods stateful, creating a method to check the state, and an error code to correspond to a method called on the wrong state.
Published at
2023-07-03 00:37:24Event JSON
{
"id": "3450f40f97427ad699831237d74eac1505f0300af15866b3d079849a8ccda914",
"pubkey": "000000000332c7831d9c5a99f183afc2813a6f69a16edda7f6fc0ed8110566e6",
"created_at": 1688344644,
"kind": 1,
"tags": [
[
"e",
"2fd4713ed04d59baa0cc7fcd67bf42a4d8a1824aa2dfc5fa1fa6904bd5afa337"
],
[
"p",
"d3d74124ddfb5bdc61b8f18d17c3335bbb4f8c71182a35ee27314a49a4eb7b1d"
]
],
"content": "I would recommend using either separate ports or separate RPC gateway paths, or, just never closing the socket but instead making the RPC interface methods stateful, creating a method to check the state, and an error code to correspond to a method called on the wrong state.",
"sig": "216af6fa71cfe8b5abc7467b5196ad7d1e7515612e4a99fa48a56adba9d70a97e95a3bfa7aeebefd8baf56c6263c96fae54f413efd06558e0549e5eb618a5db7"
}