Skip to content

Commit

Permalink
Add notice about SSL to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vrslev authored Aug 25, 2024
1 parent 3bce385 commit c844a17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ async with stompman.Client(
on_error_frame=lambda error_frame: print(error_frame.body),
on_heartbeat=lambda: print("Server sent a heartbeat"),

# SSL — can be either `None` (default), `True`, or `ssl.SSLContext'
ssl=None,

# Optional parameters with sensible defaults:
heartbeat=stompman.Heartbeat(will_send_interval_ms=1000, want_to_receive_interval_ms=1000),
connect_retry_attempts=3,
Expand Down

0 comments on commit c844a17

Please sign in to comment.