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.
		
		
		
		
			
				
					23 lines
				
				373 B
			
		
		
			
		
	
	
					23 lines
				
				373 B
			| 
								 
											4 years ago
										 
									 | 
							
								# https-browserify
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								https module compatability for browserify
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# example
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								``` js
							 | 
						||
| 
								 | 
							
								var https = require('https-browserify')
							 | 
						||
| 
								 | 
							
								var r = https.request('https://github.com')
							 | 
						||
| 
								 | 
							
								r.on('request', function (res) {
							 | 
						||
| 
								 | 
							
								  console.log(res)
							 | 
						||
| 
								 | 
							
								})
							 | 
						||
| 
								 | 
							
								```
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# methods
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								The API is the same as the client portion of the
							 | 
						||
| 
								 | 
							
								[node core https module](http://nodejs.org/docs/latest/api/https.html).
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# license
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								MIT
							 |