{"id":18402689,"url":"https://github.com/jasei/uri-amqp","last_synced_at":"2026-06-01T04:31:35.170Z","repository":{"id":56832777,"uuid":"91743140","full_name":"JaSei/URI-amqp","owner":"JaSei","description":"perl module URI::amqp","archived":false,"fork":false,"pushed_at":"2017-06-08T16:33:11.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-04-12T19:18:59.719Z","etag":null,"topics":["amqp","module","perl","rabbitmq","uri"],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JaSei.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-18T22:32:52.000Z","updated_at":"2019-04-29T08:30:20.000Z","dependencies_parsed_at":"2022-09-08T05:11:39.805Z","dependency_job_id":null,"html_url":"https://github.com/JaSei/URI-amqp","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/JaSei/URI-amqp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaSei%2FURI-amqp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaSei%2FURI-amqp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaSei%2FURI-amqp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaSei%2FURI-amqp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JaSei","download_url":"https://codeload.github.com/JaSei/URI-amqp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaSei%2FURI-amqp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267429566,"owners_count":24085974,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amqp","module","perl","rabbitmq","uri"],"created_at":"2024-11-06T02:43:11.570Z","updated_at":"2025-12-12T02:47:54.698Z","avatar_url":"https://github.com/JaSei.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/avast/URI-amqp.svg?branch=master)](https://travis-ci.org/avast/URI-amqp)\n# NAME\n\nURI::amqp - AMQP (RabbitMQ) URI\n\n# SYNOPSIS\n\n    my $uri = URI-\u003enew('amqp://user:pass@host.domain:1234/');\n    my $ar = AnyEvent::RabbitMQ-\u003enew-\u003eload_xml_spec()-\u003econnect(\n        host      =\u003e $uri-\u003ehost,\n        port      =\u003e $uri-\u003eport,\n        user      =\u003e $uri-\u003euser,\n        pass      =\u003e $uri-\u003epassword,\n        vhost     =\u003e $uri-\u003evhost,\n        tls       =\u003e $uri-\u003esecure,\n        heartbeat =\u003e scalar $uri-\u003equery_param('heartbeat'),\n        ...\n    );\n\n# DESCRIPTION\n\nURI extension for AMQP protocol ([https://www.rabbitmq.com/uri-spec.html](https://www.rabbitmq.com/uri-spec.html))\n\n# EXTENDED METHODS\n\n## vhost\n\nvhost is path part of URI\n\nslash `/` on start is removed (this is different with `path` method)\n\nreturn `undef` if vhost not defined (should be used default of module which use this URI module)\n\n## query\\_param\n\nreturn query parameters ([https://www.rabbitmq.com/uri-query-parameters.html](https://www.rabbitmq.com/uri-query-parameters.html))\n\nimplement by [URI::QueryParam](https://metacpan.org/pod/URI::QueryParam) module\n\n## as\\_net\\_amqp\\_rabbitmq\n\nreturn tuplet of `($host, $options)` which works with [Net::AMQP::RabbitMQ](https://metacpan.org/pod/Net::AMQP::RabbitMQ) `connect` method\n\n    use URI;\n    use Net::AMQP::RabbitMQ;\n\n    my $uri = URI-\u003enew('amqp://guest:guest@localhost');\n    my $mq = Net::AMQP::RabbitMQ-\u003enew();\n    $mq-\u003econnect($uri-\u003eas_net_amqp_rabbitmq_options);\n\n## as\\_anyevent\\_rabbitmq\n\nreturn options which works with [AnyEvent::RabbitMQ](https://metacpan.org/pod/AnyEvent::RabbitMQ) `connect` method\n\n    use URI;\n    use AnyEvent::RabbitMQ;\n\n    my $cv = AnyEvent-\u003econdvar;\n    my $uri = URI-\u003enew('amqp://user:pass@host.domain:1234/');\n    my $ar = AnyEvent::RabbitMQ-\u003enew-\u003eload_xml_spec()-\u003econnect(\n        $uri-\u003eas_anyevent_rabbitmq(),\n        on_success =\u003e sub {\n            ...\n        },\n        ...\n    );\n\n# LIMITATIONS\n\nmodule doesn't support correct `canonpath` (reverse) method (yet)\n\n# LICENSE\n\nCopyright (C) Avast Software.\n\nThis library is free software; you can redistribute it and/or modify\nit under the same terms as Perl itself.\n\n# AUTHOR\n\nJan Seidl \u003cseidl@avast.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasei%2Furi-amqp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasei%2Furi-amqp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasei%2Furi-amqp/lists"}