update
This commit is contained in:
@@ -82,7 +82,7 @@ env = smartreceive(msg; fileserver_download_handler=_fetch_with_backoff)
|
||||
|
||||
**JavaScript:**
|
||||
```javascript
|
||||
const NATSBridge = require('natbridge');
|
||||
const NATSBridge = require('natsbridge');
|
||||
|
||||
// Send
|
||||
const [env, env_json_str] = await NATSBridge.smartsend(
|
||||
@@ -104,7 +104,7 @@ const env = await NATSBridge.smartreceive(msg, {
|
||||
|
||||
**Python:**
|
||||
```python
|
||||
from natbridge import NATSBridge
|
||||
from natsbridge import NATSBridge
|
||||
|
||||
# Send
|
||||
env, env_json_str = NATSBridge.smartsend(
|
||||
@@ -124,7 +124,7 @@ env = NATSBridge.smartreceive(
|
||||
|
||||
**MicroPython:**
|
||||
```python
|
||||
from natbridge import NATSBridge
|
||||
from natsbridge import NATSBridge
|
||||
|
||||
# Send (limited to direct transport due to memory constraints)
|
||||
env, env_json_str = NATSBridge.smartsend(
|
||||
|
||||
Reference in New Issue
Block a user