Skip to content

Commit f011fcd

Browse files
author
Erlang/OTP
committed
Merge branch 'michal/diameter/add-documentation-about-proxy-and-resend/OTP-19768' into maint-27
* michal/diameter/add-documentation-about-proxy-and-resend/OTP-19768: Add documentation about proxy and resend return values
2 parents 940ec0f + 6a96fec commit f011fcd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/diameter/src/base/diameter_app.erl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,15 @@ The semantics of each of the possible return values are as follows.
177177
return value (for example, from a `c:handle_error/4` callback) causes the
178178
request to be answered with 3002 (DIAMETER_UNABLE_TO_DELIVER).
179179

180+
This return value can be used only in relay applications
181+
(Application identifier = 0xFFFFFFFF).
182+
183+
- **`{proxy, Opts}`** - Like `relay` but can only be used in applications other
184+
then the relay application.
185+
186+
- **`{resend, Opts}`** - Neutral alternative to `relay` and `proxy` that can be
187+
used in any application.
188+
180189
- **`discard`** - Discard the request. No answer message is sent to the peer.
181190

182191
- **`{eval, Action, PostF}`** - Handle the request as if `Action` has been

0 commit comments

Comments
 (0)