| 
									
										
										
										
											2023-02-09 19:18:06 +00:00
										 |  |  | {{define "form/streamSettings"}} | 
					
						
							|  |  |  | <!-- select stream network --> | 
					
						
							| 
									
										
										
										
											2024-02-27 15:28:35 +00:00
										 |  |  | <a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }"> | 
					
						
							| 
									
										
										
										
											2024-01-09 13:09:22 +00:00
										 |  |  |     <a-form-item label='{{ i18n "transmission" }}'> | 
					
						
							| 
									
										
										
										
											2025-04-02 11:35:40 +00:00
										 |  |  |         <a-select v-model="inbound.stream.network" :style="{ width: '75%' }" @change="streamNetworkChange" | 
					
						
							| 
									
										
										
										
											2023-12-13 15:57:36 +00:00
										 |  |  |             :dropdown-class-name="themeSwitcher.currentTheme"> | 
					
						
							| 
									
										
										
										
											2024-10-01 07:40:03 +00:00
										 |  |  |             <a-select-option value="tcp">TCP (RAW)</a-select-option> | 
					
						
							| 
									
										
										
										
											2024-01-09 09:10:40 +00:00
										 |  |  |             <a-select-option value="kcp">mKCP</a-select-option> | 
					
						
							| 
									
										
										
										
											2024-03-11 10:04:15 +00:00
										 |  |  |             <a-select-option value="ws">WebSocket</a-select-option> | 
					
						
							| 
									
										
										
										
											2023-03-25 16:12:31 +00:00
										 |  |  |             <a-select-option value="grpc">gRPC</a-select-option> | 
					
						
							| 
									
										
										
										
											2024-03-11 10:04:15 +00:00
										 |  |  |             <a-select-option value="httpupgrade">HTTPUpgrade</a-select-option> | 
					
						
							| 
									
										
										
										
											2024-12-03 21:24:34 +00:00
										 |  |  |             <a-select-option value="xhttp">XHTTP</a-select-option> | 
					
						
							| 
									
										
										
										
											2023-02-09 19:18:06 +00:00
										 |  |  |         </a-select> | 
					
						
							|  |  |  |     </a-form-item> | 
					
						
							|  |  |  | </a-form> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <!-- tcp --> | 
					
						
							|  |  |  | <template v-if="inbound.stream.network === 'tcp'"> | 
					
						
							|  |  |  |     {{template "form/streamTCP"}} | 
					
						
							|  |  |  | </template> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <!-- kcp --> | 
					
						
							|  |  |  | <template v-if="inbound.stream.network === 'kcp'"> | 
					
						
							|  |  |  |     {{template "form/streamKCP"}} | 
					
						
							|  |  |  | </template> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <!-- ws --> | 
					
						
							|  |  |  | <template v-if="inbound.stream.network === 'ws'"> | 
					
						
							|  |  |  |     {{template "form/streamWS"}} | 
					
						
							|  |  |  | </template> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <!-- grpc --> | 
					
						
							|  |  |  | <template v-if="inbound.stream.network === 'grpc'"> | 
					
						
							|  |  |  |     {{template "form/streamGRPC"}} | 
					
						
							|  |  |  | </template> | 
					
						
							| 
									
										
										
										
											2024-03-11 07:36:33 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | <!-- httpupgrade --> | 
					
						
							|  |  |  | <template v-if="inbound.stream.network === 'httpupgrade'"> | 
					
						
							| 
									
										
										
										
											2024-03-11 10:04:15 +00:00
										 |  |  |     {{template "form/streamHTTPUpgrade"}} | 
					
						
							| 
									
										
										
										
											2024-03-11 07:36:33 +00:00
										 |  |  | </template> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-12-03 21:24:34 +00:00
										 |  |  | <!-- xhttp --> | 
					
						
							|  |  |  | <template v-if="inbound.stream.network === 'xhttp'"> | 
					
						
							|  |  |  |     {{template "form/streamXHTTP"}} | 
					
						
							| 
									
										
										
										
											2024-06-18 10:49:20 +00:00
										 |  |  | </template> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-26 12:09:18 +00:00
										 |  |  | <!-- sockopt --> | 
					
						
							|  |  |  | <template> | 
					
						
							|  |  |  |     {{template "form/streamSockopt"}} | 
					
						
							|  |  |  | </template> | 
					
						
							| 
									
										
										
										
											2024-01-09 09:10:40 +00:00
										 |  |  | {{end}} |