Skip to content

Red binding with onion library (C library to create simple HTTP servers and Web Applications)

Notifications You must be signed in to change notification settings

InvoiceFox/Red-onion-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Red Onion binding

Start of Red onion binding (https://github.com/davidmoreno/onion)

  • STATE: just some test Red/System scripts for now (with static and dynamic response, request parameter parse and websockets!)

  • you are welcome to develop it further

TODO:

  • port it to red
  • add code to retrive GET / POST data
  • add session support
  • add websocket support

What to do:

Compile:

./red -c basic.reds

Run:

./basic

See:

visit http://localhost:8080 and http://localhost:8080/test

Compile: ./red .c websocket.reds

./websocket

visit http://localhost:8080/ws

About

Red binding with onion library (C library to create simple HTTP servers and Web Applications)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages