Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

UrlParameters Docs: fixed amqps scheme examples #445

Merged
merged 1 commit into from

2 participants

Riccardo Gavin M. Roy
Riccardo

No description provided.

Gavin M. Roy
Owner

Thanks!

Gavin M. Roy gmr merged commit 07d691c into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 10, 2014
  1. Riccardo
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/examples/using_urlparameters.rst
4 docs/examples/using_urlparameters.rst
View
@@ -29,11 +29,11 @@ Connect to a host *rabbit1* as the user *www-data* using the password *rabbit_pw
Connecting via SSL is pretty easy too. To connect via SSL for the previous example, simply change the scheme to *amqps*. If you do not specify a port, Pika will use the default SSL port of 5671::
- amqp://www-data:rabbit_pwd@rabbit1/web_messages
+ amqps://www-data:rabbit_pwd@rabbit1/web_messages
If you're looking to tweak other parameters, such as enabling heartbeats, simply add the key/value pair as a query string value. The following builds upon the SSL connection, enabling heartbeats every 30 seconds::
- amqp://www-data:rabbit_pwd@rabbit1/web_messages?heartbeat_interval=30
+ amqps://www-data:rabbit_pwd@rabbit1/web_messages?heartbeat_interval=30
Options that are available as query string values:
Something went wrong with that request. Please try again.