diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-04-20 17:38:33 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-04-20 17:55:06 +0300 |
| commit | 04b4fb438487ada373fb3e6437b4cdb28b5174de (patch) | |
| tree | 3814ae9d0e10d2ee8e061bd3ff5495aab0ca48c4 /web/html/form/stream/stream_xhttp.html | |
| parent | ae5ad505d04fa347eb96a0d2bfb54ff541c3b709 (diff) | |
finalmask
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html/form/stream/stream_xhttp.html')
| -rw-r--r-- | web/html/form/stream/stream_xhttp.html | 67 |
1 files changed, 23 insertions, 44 deletions
diff --git a/web/html/form/stream/stream_xhttp.html b/web/html/form/stream/stream_xhttp.html index 8fe836d0..15c6161a 100644 --- a/web/html/form/stream/stream_xhttp.html +++ b/web/html/form/stream/stream_xhttp.html @@ -1,6 +1,5 @@ {{define "form/streamXHTTP"}} -<a-form :colon="false" :label-col="{ md: {span:8} }" - :wrapper-col="{ md: {span:14} }"> +<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }"> <a-form-item label='{{ i18n "host" }}'> <a-input v-model.trim="inbound.stream.xhttp.host"></a-input> </a-form-item> @@ -8,12 +7,10 @@ <a-input v-model.trim="inbound.stream.xhttp.path"></a-input> </a-form-item> <a-form-item label='{{ i18n "pages.inbounds.stream.tcp.requestHeader" }}'> - <a-button icon="plus" size="small" - @click="inbound.stream.xhttp.addHeader('', '')"></a-button> + <a-button icon="plus" size="small" @click="inbound.stream.xhttp.addHeader('', '')"></a-button> </a-form-item> <a-form-item :wrapper-col="{span:24}"> - <a-input-group compact - v-for="(header, index) in inbound.stream.xhttp.headers"> + <a-input-group compact v-for="(header, index) in inbound.stream.xhttp.headers"> <a-input :style="{ width: '50%' }" v-model.trim="header.name" placeholder='{{ i18n "pages.inbounds.stream.general.name"}}'> <template slot="addonBefore" :style="{ margin: '0' }">[[ index+1 @@ -33,20 +30,14 @@ ]]</a-select-option> </a-select> </a-form-item> - <a-form-item label="Max Buffered Upload" - v-if="inbound.stream.xhttp.mode === 'packet-up'"> - <a-input-number - v-model.number="inbound.stream.xhttp.scMaxBufferedPosts"></a-input-number> + <a-form-item label="Max Buffered Upload" v-if="inbound.stream.xhttp.mode === 'packet-up'"> + <a-input-number v-model.number="inbound.stream.xhttp.scMaxBufferedPosts"></a-input-number> </a-form-item> - <a-form-item label="Max Upload Size (Byte)" - v-if="inbound.stream.xhttp.mode === 'packet-up'"> - <a-input - v-model.trim="inbound.stream.xhttp.scMaxEachPostBytes"></a-input> + <a-form-item label="Max Upload Size (Byte)" v-if="inbound.stream.xhttp.mode === 'packet-up'"> + <a-input v-model.trim="inbound.stream.xhttp.scMaxEachPostBytes"></a-input> </a-form-item> - <a-form-item label="Stream-Up Server" - v-if="inbound.stream.xhttp.mode === 'stream-up'"> - <a-input - v-model.trim="inbound.stream.xhttp.scStreamUpServerSecs"></a-input> + <a-form-item label="Stream-Up Server" v-if="inbound.stream.xhttp.mode === 'stream-up'"> + <a-input v-model.trim="inbound.stream.xhttp.scStreamUpServerSecs"></a-input> </a-form-item> <a-form-item label="Padding Bytes"> <a-input v-model.trim="inbound.stream.xhttp.xPaddingBytes"></a-input> @@ -56,27 +47,23 @@ </a-form-item> <template v-if="inbound.stream.xhttp.xPaddingObfsMode"> <a-form-item label="Padding Key"> - <a-input v-model.trim="inbound.stream.xhttp.xPaddingKey" - placeholder="x_padding"></a-input> + <a-input v-model.trim="inbound.stream.xhttp.xPaddingKey" placeholder="x_padding"></a-input> </a-form-item> <a-form-item label="Padding Header"> - <a-input v-model.trim="inbound.stream.xhttp.xPaddingHeader" - placeholder="X-Padding"></a-input> + <a-input v-model.trim="inbound.stream.xhttp.xPaddingHeader" placeholder="X-Padding"></a-input> </a-form-item> <a-form-item label="Padding Placement"> <a-select v-model="inbound.stream.xhttp.xPaddingPlacement" :dropdown-class-name="themeSwitcher.currentTheme"> <a-select-option value>Default (queryInHeader)</a-select-option> - <a-select-option - value="queryInHeader">queryInHeader</a-select-option> + <a-select-option value="queryInHeader">queryInHeader</a-select-option> <a-select-option value="header">header</a-select-option> <a-select-option value="cookie">cookie</a-select-option> <a-select-option value="query">query</a-select-option> </a-select> </a-form-item> <a-form-item label="Padding Method"> - <a-select v-model="inbound.stream.xhttp.xPaddingMethod" - :dropdown-class-name="themeSwitcher.currentTheme"> + <a-select v-model="inbound.stream.xhttp.xPaddingMethod" :dropdown-class-name="themeSwitcher.currentTheme"> <a-select-option value>Default (repeat-x)</a-select-option> <a-select-option value="repeat-x">repeat-x</a-select-option> <a-select-option value="tokenish">tokenish</a-select-option> @@ -84,8 +71,7 @@ </a-form-item> </template> <a-form-item label="Uplink HTTP Method"> - <a-select v-model="inbound.stream.xhttp.uplinkHTTPMethod" - :dropdown-class-name="themeSwitcher.currentTheme"> + <a-select v-model="inbound.stream.xhttp.uplinkHTTPMethod" :dropdown-class-name="themeSwitcher.currentTheme"> <a-select-option value>Default (POST)</a-select-option> <a-select-option value="POST">POST</a-select-option> <a-select-option value="PUT">PUT</a-select-option> @@ -93,8 +79,7 @@ </a-select> </a-form-item> <a-form-item label="Session Placement"> - <a-select v-model="inbound.stream.xhttp.sessionPlacement" - :dropdown-class-name="themeSwitcher.currentTheme"> + <a-select v-model="inbound.stream.xhttp.sessionPlacement" :dropdown-class-name="themeSwitcher.currentTheme"> <a-select-option value>Default (path)</a-select-option> <a-select-option value="path">path</a-select-option> <a-select-option value="header">header</a-select-option> @@ -104,12 +89,10 @@ </a-form-item> <a-form-item label="Session Key" v-if="inbound.stream.xhttp.sessionPlacement && inbound.stream.xhttp.sessionPlacement !== 'path'"> - <a-input v-model.trim="inbound.stream.xhttp.sessionKey" - placeholder="x_session"></a-input> + <a-input v-model.trim="inbound.stream.xhttp.sessionKey" placeholder="x_session"></a-input> </a-form-item> <a-form-item label="Sequence Placement"> - <a-select v-model="inbound.stream.xhttp.seqPlacement" - :dropdown-class-name="themeSwitcher.currentTheme"> + <a-select v-model="inbound.stream.xhttp.seqPlacement" :dropdown-class-name="themeSwitcher.currentTheme"> <a-select-option value>Default (path)</a-select-option> <a-select-option value="path">path</a-select-option> <a-select-option value="header">header</a-select-option> @@ -119,13 +102,10 @@ </a-form-item> <a-form-item label="Sequence Key" v-if="inbound.stream.xhttp.seqPlacement && inbound.stream.xhttp.seqPlacement !== 'path'"> - <a-input v-model.trim="inbound.stream.xhttp.seqKey" - placeholder="x_seq"></a-input> + <a-input v-model.trim="inbound.stream.xhttp.seqKey" placeholder="x_seq"></a-input> </a-form-item> - <a-form-item label="Uplink Data Placement" - v-if="inbound.stream.xhttp.mode === 'packet-up'"> - <a-select v-model="inbound.stream.xhttp.uplinkDataPlacement" - :dropdown-class-name="themeSwitcher.currentTheme"> + <a-form-item label="Uplink Data Placement" v-if="inbound.stream.xhttp.mode === 'packet-up'"> + <a-select v-model="inbound.stream.xhttp.uplinkDataPlacement" :dropdown-class-name="themeSwitcher.currentTheme"> <a-select-option value>Default (body)</a-select-option> <a-select-option value="body">body</a-select-option> <a-select-option value="header">header</a-select-option> @@ -135,13 +115,12 @@ </a-form-item> <a-form-item label="Uplink Data Key" v-if="inbound.stream.xhttp.mode === 'packet-up' && inbound.stream.xhttp.uplinkDataPlacement && inbound.stream.xhttp.uplinkDataPlacement !== 'body'"> - <a-input v-model.trim="inbound.stream.xhttp.uplinkDataKey" - placeholder="x_data"></a-input> + <a-input v-model.trim="inbound.stream.xhttp.uplinkDataKey" placeholder="x_data"></a-input> </a-form-item> <a-form-item label="Uplink Chunk Size" v-if="inbound.stream.xhttp.mode === 'packet-up' && inbound.stream.xhttp.uplinkDataPlacement && inbound.stream.xhttp.uplinkDataPlacement !== 'body'"> - <a-input-number v-model.number="inbound.stream.xhttp.uplinkChunkSize" - :min="0" placeholder="0 (unlimited)"></a-input-number> + <a-input-number v-model.number="inbound.stream.xhttp.uplinkChunkSize" :min="0" + placeholder="0 (unlimited)"></a-input-number> </a-form-item> <a-form-item label="No SSE Header"> <a-switch v-model="inbound.stream.xhttp.noSSEHeader"></a-switch> |
