17 lines
		
	
	
		
			368 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			368 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import https from "https";
 | |
| import http from "http";
 | |
| type GrabHostNamesReturn = {
 | |
|     host: string;
 | |
|     port: number | string;
 | |
|     scheme: typeof http | typeof https;
 | |
|     user_id: string | number;
 | |
| };
 | |
| type Param = {
 | |
|     userId?: string | number;
 | |
| };
 | |
| /**
 | |
|  *  # Grab Names For Query
 | |
|  */
 | |
| export default function grabHostNames(param?: Param): GrabHostNamesReturn;
 | |
| export {};
 | 
