rabbitmq-server/deps/rabbitmq_stomp/include/rabbit_stomp.hrl

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
1.3 KiB
Erlang
Raw Permalink Normal View History

2020-07-15 02:55:55 +08:00
%% This Source Code Form is subject to the terms of the Mozilla Public
%% License, v. 2.0. If a copy of the MPL was not distributed with this
%% file, You can obtain one at https://mozilla.org/MPL/2.0/.
2011-06-06 19:45:22 +08:00
%%
2024-01-23 12:44:47 +08:00
%% Copyright (c) 2007-2025 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. All rights reserved.
2011-06-06 19:45:22 +08:00
%%
2012-02-03 01:52:58 +08:00
2011-06-06 19:45:22 +08:00
-record(stomp_configuration, {default_login,
default_passcode,
force_default_creds = false,
implicit_connect,
ssl_cert_login}).
2012-11-07 23:33:05 +08:00
-define(SUPPORTED_VERSIONS, ["1.0", "1.1", "1.2"]).
2016-12-08 18:15:34 +08:00
-define(INFO_ITEMS,
[conn_name,
connection,
connection_state,
session_id,
channel,
version,
implicit_connect,
2016-12-08 21:08:54 +08:00
auth_login,
auth_mechanism,
2016-12-08 18:15:34 +08:00
peer_addr,
host,
port,
peer_host,
peer_port,
protocol,
channels,
channel_max,
frame_max,
2016-12-08 21:08:54 +08:00
client_properties,
ssl,
ssl_protocol,
ssl_key_exchange,
ssl_cipher,
ssl_hash]).
-define(STOMP_GUIDE_URL, <<"https://rabbitmq.com/docs/stomp">>).
2023-07-09 03:36:56 +08:00
-define(DEFAULT_MAX_FRAME_SIZE, 4 * 1024 * 1024).