 websockets Documentation
Release 9.0a WebSocket server example. It reads a name from the client, sends a greeting, and closes the connection. #!/usr/bin/env python # WS server example import asyncio import websockets async def hello(websocket server side, websockets executes the handler coroutine hello once for each WebSocket connection. It closes the connection when the handler coroutine returns. Here’s a corresponding WebSocket client example get_event_loop().run_until_complete(hello()) Using connect() as an asynchronous context manager ensures the connection is closed before exiting the hello coroutine. 1.1.4 Secure example Secure WebSocket connections0 码力 | 81 页 | 352.88 KB | 1 年前3 websockets Documentation
Release 9.0a WebSocket server example. It reads a name from the client, sends a greeting, and closes the connection. #!/usr/bin/env python # WS server example import asyncio import websockets async def hello(websocket server side, websockets executes the handler coroutine hello once for each WebSocket connection. It closes the connection when the handler coroutine returns. Here’s a corresponding WebSocket client example get_event_loop().run_until_complete(hello()) Using connect() as an asynchronous context manager ensures the connection is closed before exiting the hello coroutine. 1.1.4 Secure example Secure WebSocket connections0 码力 | 81 页 | 352.88 KB | 1 年前3
 Apache ActiveMQ Artemis 2.31.0 User Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7.6. STOMP heart-beating and connection-ttl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 9.1. Connection Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 11.5. Failing over on the initial connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 524 页 | 10.73 MB | 1 年前3 Apache ActiveMQ Artemis 2.31.0 User Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7.6. STOMP heart-beating and connection-ttl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 9.1. Connection Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 11.5. Failing over on the initial connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 524 页 | 10.73 MB | 1 年前3
 Apache ActiveMQ Artemis 2.32.0 User Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7.5. STOMP heart-beating and connection-ttl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 9.1. Connection Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 11.5. Failing over on the initial connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 528 页 | 10.88 MB | 1 年前3 Apache ActiveMQ Artemis 2.32.0 User Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7.5. STOMP heart-beating and connection-ttl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 9.1. Connection Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 11.5. Failing over on the initial connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 528 页 | 10.88 MB | 1 年前3
 Apache ActiveMQ Artemis 2.31.1 User Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7.6. STOMP heart-beating and connection-ttl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 9.1. Connection Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 11.5. Failing over on the initial connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 525 页 | 10.75 MB | 1 年前3 Apache ActiveMQ Artemis 2.31.1 User Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7.6. STOMP heart-beating and connection-ttl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 9.1. Connection Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 11.5. Failing over on the initial connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 525 页 | 10.75 MB | 1 年前3
 Apache ActiveMQ Artemis 2.31.2 User Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7.6. STOMP heart-beating and connection-ttl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 9.1. Connection Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 11.5. Failing over on the initial connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 525 页 | 10.76 MB | 1 年前3 Apache ActiveMQ Artemis 2.31.2 User Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7.6. STOMP heart-beating and connection-ttl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 9.1. Connection Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 11.5. Failing over on the initial connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 525 页 | 10.76 MB | 1 年前3
 Apache ActiveMQ Artemis 2.30.0 User ManualDetection Clusters Federation Address Federation Queue Federation High Availability and Failover Connection Routers Graceful Server Shutdown Libaio Native Libraries Thread management 3 1.67 1.68 1 situations the broker will use this assigned (i.e. validated) username for any queues created with the connection. In the past the queue's username would have been left blank. 2.23.1 Full release notes Highlights: locks 2.22.0 Full release notes. Highlights: The default producer-window-size on cluster-connection was changed to 1MB to mitigate potential OutOfMemoryErrors in environments with with high latency0 码力 | 500 页 | 6.37 MB | 1 年前3 Apache ActiveMQ Artemis 2.30.0 User ManualDetection Clusters Federation Address Federation Queue Federation High Availability and Failover Connection Routers Graceful Server Shutdown Libaio Native Libraries Thread management 3 1.67 1.68 1 situations the broker will use this assigned (i.e. validated) username for any queues created with the connection. In the past the queue's username would have been left blank. 2.23.1 Full release notes Highlights: locks 2.22.0 Full release notes. Highlights: The default producer-window-size on cluster-connection was changed to 1MB to mitigate potential OutOfMemoryErrors in environments with with high latency0 码力 | 500 页 | 6.37 MB | 1 年前3
 Apache ActiveMQ Artemis 2.29.0 User ManualDetection Clusters Federation Address Federation Queue Federation High Availability and Failover Connection Routers Graceful Server Shutdown Libaio Native Libraries Thread management 3 1.67 1.68 1 situations the broker will use this assigned (i.e. validated) username for any queues created with the connection. In the past the queue's username would have been left blank. 2.23.1 Full release notes Highlights: locks 2.22.0 Full release notes. Highlights: The default producer-window-size on cluster-connection was changed to 1MB to mitigate potential OutOfMemoryErrors in environments with with high latency0 码力 | 499 页 | 6.37 MB | 1 年前3 Apache ActiveMQ Artemis 2.29.0 User ManualDetection Clusters Federation Address Federation Queue Federation High Availability and Failover Connection Routers Graceful Server Shutdown Libaio Native Libraries Thread management 3 1.67 1.68 1 situations the broker will use this assigned (i.e. validated) username for any queues created with the connection. In the past the queue's username would have been left blank. 2.23.1 Full release notes Highlights: locks 2.22.0 Full release notes. Highlights: The default producer-window-size on cluster-connection was changed to 1MB to mitigate potential OutOfMemoryErrors in environments with with high latency0 码力 | 499 页 | 6.37 MB | 1 年前3
 Apache ActiveMQ Artemis 2.28.0 User ManualDetection Clusters Federation Address Federation Queue Federation High Availability and Failover Connection Routers Graceful Server Shutdown Libaio Native Libraries Thread management 3 1.67 1.68 1 situations the broker will use this assigned (i.e. validated) username for any queues created with the connection. In the past the queue's username would have been left blank. 2.23.1 Full release notes Highlights: locks 2.22.0 Full release notes. Highlights: The default producer-window-size on cluster-connection was changed to 1MB to mitigate potential OutOfMemoryErrors in environments with with high latency0 码力 | 494 页 | 6.33 MB | 1 年前3 Apache ActiveMQ Artemis 2.28.0 User ManualDetection Clusters Federation Address Federation Queue Federation High Availability and Failover Connection Routers Graceful Server Shutdown Libaio Native Libraries Thread management 3 1.67 1.68 1 situations the broker will use this assigned (i.e. validated) username for any queues created with the connection. In the past the queue's username would have been left blank. 2.23.1 Full release notes Highlights: locks 2.22.0 Full release notes. Highlights: The default producer-window-size on cluster-connection was changed to 1MB to mitigate potential OutOfMemoryErrors in environments with with high latency0 码力 | 494 页 | 6.33 MB | 1 年前3
 ActiveMQ Artemis 2.27.1 DocumentationDetection Clusters Federation Address Federation Queue Federation High Availability and Failover Connection Routers Graceful Server Shutdown Libaio Native Libraries Thread management Embedded Web Server situations the broker will use this assigned (i.e. validated) username for any queues created with the connection. In the past the queue's username would have been left blank. 2.23.1 Full release notes Highlights: locks 2.22.0 Full release notes. Highlights: The default producer-window-size on cluster-connection was changed to 1MB to mitigate potential OutOfMemoryErrors in environments with with high latency0 码力 | 414 页 | 6.20 MB | 1 年前3 ActiveMQ Artemis 2.27.1 DocumentationDetection Clusters Federation Address Federation Queue Federation High Availability and Failover Connection Routers Graceful Server Shutdown Libaio Native Libraries Thread management Embedded Web Server situations the broker will use this assigned (i.e. validated) username for any queues created with the connection. In the past the queue's username would have been left blank. 2.23.1 Full release notes Highlights: locks 2.22.0 Full release notes. Highlights: The default producer-window-size on cluster-connection was changed to 1MB to mitigate potential OutOfMemoryErrors in environments with with high latency0 码力 | 414 页 | 6.20 MB | 1 年前3
 Apache ActiveMQ Artemis 2.26.0 User ManualDetection Clusters Federation Address Federation Queue Federation High Availability and Failover Connection Routers Graceful Server Shutdown Libaio Native Libraries Thread management 3 1.67 1.68 1 situations the broker will use this assigned (i.e. validated) username for any queues created with the connection. In the past the queue's username would have been left blank. 2.23.1 Full release notes Highlights: locks 2.22.0 Full release notes. Highlights: The default producer-window-size on cluster-connection was changed to 1MB to mitigate potential OutOfMemoryErrors in environments with with high latency0 码力 | 487 页 | 6.28 MB | 1 年前3 Apache ActiveMQ Artemis 2.26.0 User ManualDetection Clusters Federation Address Federation Queue Federation High Availability and Failover Connection Routers Graceful Server Shutdown Libaio Native Libraries Thread management 3 1.67 1.68 1 situations the broker will use this assigned (i.e. validated) username for any queues created with the connection. In the past the queue's username would have been left blank. 2.23.1 Full release notes Highlights: locks 2.22.0 Full release notes. Highlights: The default producer-window-size on cluster-connection was changed to 1MB to mitigate potential OutOfMemoryErrors in environments with with high latency0 码力 | 487 页 | 6.28 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100














 
 