diff options
| author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2012-02-24 11:21:35 +0000 |
|---|---|---|
| committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2012-02-24 11:21:35 +0000 |
| commit | 8f931704288ff3a926d4711a5c9bc3cdc9dc626d (patch) | |
| tree | 50f880452ccdec691d84cd4f2d08dda8a6650a91 | |
| parent | 22ca9724cc6f5b1d4b4ba6e102bf52ddb2dde1a7 (diff) | |
| download | rabbitmq-server-git-8f931704288ff3a926d4711a5c9bc3cdc9dc626d.tar.gz | |
add type for header_routes
| -rw-r--r-- | src/rabbit_basic.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rabbit_basic.erl b/src/rabbit_basic.erl index 2777714f79..8fbb39832a 100644 --- a/src/rabbit_basic.erl +++ b/src/rabbit_basic.erl @@ -56,6 +56,9 @@ rabbit_types:ok_or_error2(rabbit_types:message(), any())). -spec(properties/1 :: (properties_input()) -> rabbit_framing:amqp_property_record()). +-spec(header_routes/1 :: + (undefined | rabbit_framing:amqp_table()) -> + [string()] | rabbit_types:error(any())). -spec(build_content/2 :: (rabbit_framing:amqp_property_record(), binary() | [binary()]) -> rabbit_types:content()). -spec(from_content/1 :: (rabbit_types:content()) -> |
