mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-16 00:05:53 +01:00
ConnectionTimeout
This commit is contained in:
parent
ffd7d355cc
commit
b18a53b840
@ -121,6 +121,7 @@ type
|
||||
|
||||
class function Subscription(const SubscriptionName: string): TKeyValue;
|
||||
class function Persistent(const Value: Boolean): TKeyValue;
|
||||
class function Durable(const Value: Boolean): TKeyValue;
|
||||
class function ReplyTo(const DestinationName: string): TKeyValue;
|
||||
|
||||
/// /////////////////////////////////////////////7
|
||||
@ -485,6 +486,12 @@ begin
|
||||
inherited;
|
||||
end;
|
||||
|
||||
class function TStompHeaders.Durable(const Value: Boolean): TKeyValue;
|
||||
begin
|
||||
Result.Key := 'durable';
|
||||
Result.Value := LowerCase(BoolToStr(Value, true));
|
||||
end;
|
||||
|
||||
function TStompHeaders.GetAt(const index: Integer): TKeyValue;
|
||||
begin
|
||||
Result := GetItems(index)
|
||||
|
Loading…
Reference in New Issue
Block a user