D
Dmitri Kondratiev
I need examples of writing Webric code handling GET and POST requests.
Thanks!
Dima
Thanks!
Dima
I need examples of writing Webric code handling GET and POST requests.
Thanks!
Thanks a lot James! This is exactly what I was looking for! (or
maybe I
should go to ROR directly, without stoping at WEBrick?...)
Eleanor said:WEBrick is very good for writing quick and dirty HTTP servers -
especially if all you want to do is mount some code at a given URL
and return some output nicely wrapped with HTTP headers etc. Writing
complex web applications with vanilla WEBrick is a little more
challenging but can be done however you're probably better off using
RoR, Camping or one of the other frameworks.
Ellie
Eleanor McHugh
Games With Brains
Thanks for update! I am thinking about using Webric for lightweight
REST-full protocol between WEB peers. In other words I need embedable
WEB server that will allow sevral apps exchange messages using simple
protocol on top of HTTP (get & post + params).
The main question here: can Webric be embeded in another
application so
threads of this app will not be blocked and will continue to work
without starvation. In fact, application I am talking about may use
variable number of threads growing from 1 to 100 at different times
(these in addition to Webric threads).
Dmitri said:Thanks a lot James! This is exactly what I was looking for! (or maybe I
should go to ROR directly, without stoping at WEBrick?...)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.