|
40 | 40 | <a-form-item label="Padding Bytes"> |
41 | 41 | <a-input v-model.trim="inbound.stream.xhttp.xPaddingBytes"></a-input> |
42 | 42 | </a-form-item> |
| 43 | + <a-form-item label="Padding Obfs Mode"> |
| 44 | + <a-switch v-model="inbound.stream.xhttp.xPaddingObfsMode"></a-switch> |
| 45 | + </a-form-item> |
| 46 | + <template v-if="inbound.stream.xhttp.xPaddingObfsMode"> |
| 47 | + <a-form-item label="Padding Key"> |
| 48 | + <a-input v-model.trim="inbound.stream.xhttp.xPaddingKey" |
| 49 | + placeholder="x_padding"></a-input> |
| 50 | + </a-form-item> |
| 51 | + <a-form-item label="Padding Header"> |
| 52 | + <a-input v-model.trim="inbound.stream.xhttp.xPaddingHeader" |
| 53 | + placeholder="X-Padding"></a-input> |
| 54 | + </a-form-item> |
| 55 | + <a-form-item label="Padding Placement"> |
| 56 | + <a-select v-model="inbound.stream.xhttp.xPaddingPlacement" |
| 57 | + :dropdown-class-name="themeSwitcher.currentTheme"> |
| 58 | + <a-select-option value>Default (queryInHeader)</a-select-option> |
| 59 | + <a-select-option |
| 60 | + value="queryInHeader">queryInHeader</a-select-option> |
| 61 | + <a-select-option value="header">header</a-select-option> |
| 62 | + </a-select> |
| 63 | + </a-form-item> |
| 64 | + <a-form-item label="Padding Method"> |
| 65 | + <a-select v-model="inbound.stream.xhttp.xPaddingMethod" |
| 66 | + :dropdown-class-name="themeSwitcher.currentTheme"> |
| 67 | + <a-select-option value>Default (repeat-x)</a-select-option> |
| 68 | + <a-select-option value="repeat-x">repeat-x</a-select-option> |
| 69 | + <a-select-option value="tokenish">tokenish</a-select-option> |
| 70 | + </a-select> |
| 71 | + </a-form-item> |
| 72 | + </template> |
| 73 | + <a-form-item label="Uplink HTTP Method"> |
| 74 | + <a-select v-model="inbound.stream.xhttp.uplinkHTTPMethod" |
| 75 | + :dropdown-class-name="themeSwitcher.currentTheme"> |
| 76 | + <a-select-option value>Default (POST)</a-select-option> |
| 77 | + <a-select-option value="POST">POST</a-select-option> |
| 78 | + <a-select-option value="PUT">PUT</a-select-option> |
| 79 | + <a-select-option value="GET">GET (packet-up only)</a-select-option> |
| 80 | + </a-select> |
| 81 | + </a-form-item> |
| 82 | + <a-form-item label="Session Placement"> |
| 83 | + <a-select v-model="inbound.stream.xhttp.sessionPlacement" |
| 84 | + :dropdown-class-name="themeSwitcher.currentTheme"> |
| 85 | + <a-select-option value>Default (path)</a-select-option> |
| 86 | + <a-select-option value="path">path</a-select-option> |
| 87 | + <a-select-option value="header">header</a-select-option> |
| 88 | + <a-select-option value="cookie">cookie</a-select-option> |
| 89 | + <a-select-option value="query">query</a-select-option> |
| 90 | + </a-select> |
| 91 | + </a-form-item> |
| 92 | + <a-form-item label="Session Key" |
| 93 | + v-if="inbound.stream.xhttp.sessionPlacement && inbound.stream.xhttp.sessionPlacement !== 'path'"> |
| 94 | + <a-input v-model.trim="inbound.stream.xhttp.sessionKey" |
| 95 | + placeholder="x_session"></a-input> |
| 96 | + </a-form-item> |
| 97 | + <a-form-item label="Sequence Placement"> |
| 98 | + <a-select v-model="inbound.stream.xhttp.seqPlacement" |
| 99 | + :dropdown-class-name="themeSwitcher.currentTheme"> |
| 100 | + <a-select-option value>Default (path)</a-select-option> |
| 101 | + <a-select-option value="path">path</a-select-option> |
| 102 | + <a-select-option value="header">header</a-select-option> |
| 103 | + <a-select-option value="cookie">cookie</a-select-option> |
| 104 | + <a-select-option value="query">query</a-select-option> |
| 105 | + </a-select> |
| 106 | + </a-form-item> |
| 107 | + <a-form-item label="Sequence Key" |
| 108 | + v-if="inbound.stream.xhttp.seqPlacement && inbound.stream.xhttp.seqPlacement !== 'path'"> |
| 109 | + <a-input v-model.trim="inbound.stream.xhttp.seqKey" |
| 110 | + placeholder="x_seq"></a-input> |
| 111 | + </a-form-item> |
| 112 | + <a-form-item label="Uplink Data Placement" |
| 113 | + v-if="inbound.stream.xhttp.mode === 'packet-up'"> |
| 114 | + <a-select v-model="inbound.stream.xhttp.uplinkDataPlacement" |
| 115 | + :dropdown-class-name="themeSwitcher.currentTheme"> |
| 116 | + <a-select-option value>Default (body)</a-select-option> |
| 117 | + <a-select-option value="body">body</a-select-option> |
| 118 | + <a-select-option value="header">header</a-select-option> |
| 119 | + <a-select-option value="query">query</a-select-option> |
| 120 | + </a-select> |
| 121 | + </a-form-item> |
| 122 | + <a-form-item label="Uplink Data Key" |
| 123 | + v-if="inbound.stream.xhttp.mode === 'packet-up' && inbound.stream.xhttp.uplinkDataPlacement && inbound.stream.xhttp.uplinkDataPlacement !== 'body'"> |
| 124 | + <a-input v-model.trim="inbound.stream.xhttp.uplinkDataKey" |
| 125 | + placeholder="x_data"></a-input> |
| 126 | + </a-form-item> |
| 127 | + <a-form-item label="Uplink Chunk Size" |
| 128 | + v-if="inbound.stream.xhttp.mode === 'packet-up' && inbound.stream.xhttp.uplinkDataPlacement && inbound.stream.xhttp.uplinkDataPlacement !== 'body'"> |
| 129 | + <a-input-number v-model.number="inbound.stream.xhttp.uplinkChunkSize" |
| 130 | + :min="0" placeholder="0 (unlimited)"></a-input-number> |
| 131 | + </a-form-item> |
43 | 132 | <a-form-item label="No SSE Header"> |
44 | 133 | <a-switch v-model="inbound.stream.xhttp.noSSEHeader"></a-switch> |
45 | 134 | </a-form-item> |
|
0 commit comments