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.
		
		
		
		
		
			
		
			
				
					
					
						
							11 lines
						
					
					
						
							346 B
						
					
					
				
			
		
		
	
	
							11 lines
						
					
					
						
							346 B
						
					
					
				| /// <reference types="node" />
 | |
| import { Socket } from 'net';
 | |
| import { TLSSocket } from 'tls';
 | |
| interface Listeners {
 | |
|     connect?: () => void;
 | |
|     secureConnect?: () => void;
 | |
|     close?: (hadError: boolean) => void;
 | |
| }
 | |
| declare const deferToConnect: (socket: TLSSocket | Socket, fn: Listeners | (() => void)) => void;
 | |
| export default deferToConnect;
 |