You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							49 lines
						
					
					
						
							832 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							49 lines
						
					
					
						
							832 B
						
					
					
				
								example.com
							 | 
						|
								
							 | 
						|
								import testdata/import_respond.txt Groot Rocket
							 | 
						|
								import testdata/import_respond.txt you "the confused man"
							 | 
						|
								----------
							 | 
						|
								{
							 | 
						|
									"apps": {
							 | 
						|
										"http": {
							 | 
						|
											"servers": {
							 | 
						|
												"srv0": {
							 | 
						|
													"listen": [
							 | 
						|
														":443"
							 | 
						|
													],
							 | 
						|
													"routes": [
							 | 
						|
														{
							 | 
						|
															"match": [
							 | 
						|
																{
							 | 
						|
																	"host": [
							 | 
						|
																		"example.com"
							 | 
						|
																	]
							 | 
						|
																}
							 | 
						|
															],
							 | 
						|
															"handle": [
							 | 
						|
																{
							 | 
						|
																	"handler": "subroute",
							 | 
						|
																	"routes": [
							 | 
						|
																		{
							 | 
						|
																			"handle": [
							 | 
						|
																				{
							 | 
						|
																					"body": "'I am Groot', hears Rocket",
							 | 
						|
																					"handler": "static_response"
							 | 
						|
																				},
							 | 
						|
																				{
							 | 
						|
																					"body": "'I am you', hears the confused man",
							 | 
						|
																					"handler": "static_response"
							 | 
						|
																				}
							 | 
						|
																			]
							 | 
						|
																		}
							 | 
						|
																	]
							 | 
						|
																}
							 | 
						|
															],
							 | 
						|
															"terminal": true
							 | 
						|
														}
							 | 
						|
													]
							 | 
						|
												}
							 | 
						|
											}
							 | 
						|
										}
							 | 
						|
									}
							 | 
						|
								}
							 |