mirror of
				https://github.com/ctruLua/ctruLua.git
				synced 2025-10-27 16:39:29 +00:00 
			
		
		
		
	Added ":addTrustedRootCA()" to the httpc contexts, close #8, Added some values in ctr.
I didn't test :addTrustedRootCA(), but it's just a simple string-to-char+size function.
This commit is contained in:
		
							parent
							
								
									9db21c7831
								
							
						
					
					
						commit
						6a9fbbb133
					
				
					 6 changed files with 38 additions and 8 deletions
				
			
		|  | @ -25,19 +25,18 @@ while ctr.run() do | |||
|     dls = dls + 1 | ||||
|   end | ||||
|    | ||||
|   gfx.startFrame(gfx.TOP) | ||||
|   gfx.start(gfx.TOP) | ||||
|     gfx.text(0, 0, data) | ||||
|     gfx.text(0, 20, "Downloaded "..dls.." times.") | ||||
|   gfx.endFrame() | ||||
|   gfx.stop() | ||||
|    | ||||
|   gfx.startFrame(gfx.BOTTOM) | ||||
|   gfx.start(gfx.BOTTOM) | ||||
|   	gfx.text(2, 2, "HTTP Contexts example") | ||||
|   	gfx.text(2, 20, "The data is downloaded from '"..addr.."'.") | ||||
|   	gfx.text(2, 30, "Press [B] to redownload.") | ||||
|   gfx.endFrame() | ||||
|   gfx.stop() | ||||
|    | ||||
|   gfx.render() | ||||
| end | ||||
| 
 | ||||
| 
 | ||||
| context:close() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Firew0lf
						Firew0lf