diff options
| author | Shishkevich D. <135337715+shishkevichd@users.noreply.github.com> | 2025-03-09 07:28:12 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-09 07:28:12 +0300 |
| commit | c49ec9a74cf1c407cbe872355f1e2ac03a8e3080 (patch) | |
| tree | d1945e4821b7682a2fd171b5fadf106d2f920f9e /web/html | |
| parent | a0dd101d9778f11dfe4866e7bc71c5119bcbf6fa (diff) | |
chore: add new grpc params for outbound (#2744)
Diffstat (limited to 'web/html')
| -rw-r--r-- | web/html/xui/form/outbound.html | 15 | ||||
| -rw-r--r-- | web/html/xui/form/stream/stream_grpc.html | 7 |
2 files changed, 17 insertions, 5 deletions
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html index d4e9e5f6..93b0a94f 100644 --- a/web/html/xui/form/outbound.html +++ b/web/html/xui/form/outbound.html @@ -352,6 +352,21 @@ <a-form-item label='Multi Mode'> <a-switch v-model="outbound.stream.grpc.multiMode"></a-switch> </a-form-item> + <a-form-item label="User Agent"> + <a-input v-model.trim="outbound.stream.grpc.user_agent"></a-input> + </a-form-item> + <a-form-item label="Idle Timeout"> + <a-input-number v-model.number="outbound.stream.grpc.idle_timeout"></a-input-number> + </a-form-item> + <a-form-item label="Health Check Timeout"> + <a-input-number v-model.number="outbound.stream.grpc.health_check_timeout"></a-input-number> + </a-form-item> + <a-form-item label="Permit Without Stream"> + <a-switch v-model="outbound.stream.grpc.permit_without_stream"></a-switch> + </a-form-item> + <a-form-item label="Initial Window Size"> + <a-input-number v-model.number="outbound.stream.grpc.initial_windows_size"></a-input-number> + </a-form-item> </template> <!-- httpupgrade --> diff --git a/web/html/xui/form/stream/stream_grpc.html b/web/html/xui/form/stream/stream_grpc.html index e74a3c3f..a036080f 100644 --- a/web/html/xui/form/stream/stream_grpc.html +++ b/web/html/xui/form/stream/stream_grpc.html @@ -1,13 +1,10 @@ {{define "form/streamGRPC"}} <a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }"> - <a-form-item label="Service Name"> - <a-input v-model.trim="inbound.stream.grpc.serviceName"></a-input> - </a-form-item> <a-form-item label="Authority"> <a-input v-model.trim="inbound.stream.grpc.authority"></a-input> </a-form-item> - <a-form-item label="Multi Mode"> - <a-switch v-model="inbound.stream.grpc.multiMode"></a-switch> + <a-form-item label="Service Name"> + <a-input v-model.trim="inbound.stream.grpc.serviceName"></a-input> </a-form-item> </a-form> {{end}} |
