2024-06-18 10:49:20 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								{{define "form/streamSplitHTTP"}}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								<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.splithttp.host"></a-input>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </a-form-item>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <a-form-item label='{{ i18n "path" }}'>
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-17 08:40:56 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        <a-input v-model.trim="inbound.stream.splithttp.path"></a-input>
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-18 10:49:20 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </a-form-item>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <a-form-item label='{{ i18n "pages.inbounds.stream.tcp.requestHeader" }}'>
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-17 08:40:56 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        <a-button icon="plus" size="small" @click="inbound.stream.splithttp.addHeader('host', '')"></a-button>
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-18 10:49:20 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </a-form-item>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <a-form-item :wrapper-col="{span:24}">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        <a-input-group compact v-for="(header, index) in inbound.stream.splithttp.headers">
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-17 08:40:56 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								            <a-input style="width: 50%" v-model.trim="header.name"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                placeholder='{{ i18n "pages.inbounds.stream.general.name"}}'>
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-18 10:49:20 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                <template slot="addonBefore" style="margin: 0;">[[ index+1 ]]</template>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            </a-input>
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-17 08:40:56 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								            <a-input style="width: 50%" v-model.trim="header.value"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                placeholder='{{ i18n "pages.inbounds.stream.general.value" }}'>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                <a-button slot="addonAfter" size="small"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								                    @click="inbound.stream.splithttp.removeHeader(index)">-</a-button>
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-18 10:49:20 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            </a-input>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        </a-input-group>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </a-form-item>
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-14 09:39:51 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    <a-form-item label='Mode'>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        <a-select v-model="inbound.stream.splithttp.mode" style="width: 50%"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            :dropdown-class-name="themeSwitcher.currentTheme">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            <a-select-option v-for="key in MODE_OPTION" :value="key">[[ key ]]</a-select-option>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        </a-select>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </a-form-item>
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-29 11:05:05 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    <a-form-item label="Max Concurrent Upload">
							 | 
						
					
						
							
								
									
										
										
										
											2024-08-11 09:38:59 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        <a-input v-model.trim="inbound.stream.splithttp.scMaxConcurrentPosts"></a-input>
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-29 11:05:05 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    </a-form-item>
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-18 21:03:48 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    <a-form-item label="Max Upload Size (Byte)">
							 | 
						
					
						
							
								
									
										
										
										
											2024-08-11 09:38:59 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        <a-input v-model.trim="inbound.stream.splithttp.scMaxEachPostBytes"></a-input>
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-18 10:49:20 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </a-form-item>
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-29 11:13:37 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    <a-form-item label="Min Upload Interval (Ms)">
							 | 
						
					
						
							
								
									
										
										
										
											2024-08-11 09:38:59 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        <a-input v-model.trim="inbound.stream.splithttp.scMinPostsIntervalMs"></a-input>
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-18 10:49:20 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </a-form-item>
							 | 
						
					
						
							
								
									
										
										
										
											2024-08-18 22:13:07 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    <a-form-item label="Padding Bytes">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        <a-input v-model.trim="inbound.stream.splithttp.xPaddingBytes"></a-input>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </a-form-item>
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-29 11:13:37 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    <a-form-item label="No SSE Header">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        <a-switch v-model="inbound.stream.splithttp.noSSEHeader"></a-switch>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </a-form-item>
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-03 08:43:33 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    <a-form-item label="Max Concurrency" v-if="!inbound.stream.splithttp.xmux.maxConnections">
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-17 08:40:56 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        <a-input v-model="inbound.stream.splithttp.xmux.maxConcurrency"></a-input>
							 | 
						
					
						
							
								
									
										
										
										
											2024-09-24 09:38:10 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    </a-form-item>
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-03 08:43:33 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    <a-form-item label="Max Connections" v-if="!inbound.stream.splithttp.xmux.maxConcurrency">
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-17 08:40:56 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        <a-input v-model="inbound.stream.splithttp.xmux.maxConnections"></a-input>
							 | 
						
					
						
							
								
									
										
										
										
											2024-09-16 14:47:59 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    </a-form-item>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <a-form-item label="Max Reuse Times">
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-17 08:40:56 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        <a-input v-model="inbound.stream.splithttp.xmux.cMaxReuseTimes"></a-input>
							 | 
						
					
						
							
								
									
										
										
										
											2024-09-16 14:47:59 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    </a-form-item>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <a-form-item label="Max Lifetime (ms)">
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-17 08:40:56 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        <a-input v-model="inbound.stream.splithttp.xmux.cMaxLifetimeMs"></a-input>
							 | 
						
					
						
							
								
									
										
										
										
											2024-09-16 14:47:59 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    </a-form-item>
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-21 14:26:25 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    <a-form-item label="No gRPC Header">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        <a-switch v-model="inbound.stream.splithttp.noGRPCHeader"></a-switch>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </a-form-item>
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-18 10:49:20 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								</a-form>
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-17 08:40:56 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								{{end}}
							 |