Skip to content

SimpleHttp of iij/mruby support mruby/mruby using mruby-uv and mruby-http

Notifications You must be signed in to change notification settings

matsumotory/mruby-simplehttp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleHttp Class for mruby

Simple http or https connection class for mruby.

refactored SimpleHttp using mruby-polarssl and mruby-socket or mruby-uv

original code is iij/mruby

install by mrbgems

  • add conf.gem line to build_config.rb
MRuby::Build.new do |conf|

    # ... (snip) ...

    conf.gem :git => 'https://github.com/matsumoto-r/mruby-simplehttp.git'
end

example

p SimpleHttp.new("http", "127.0.0.1", 80).request("GET", "/index.html", {'User-Agent' => "test-agent"})

License

under the MIT License:

About

SimpleHttp of iij/mruby support mruby/mruby using mruby-uv and mruby-http

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages