History
WEBrick has originated from an idea in an article named "Internet Programming with Ruby" in Open Design, a Japanese Engineering magazine. It was initially developed as a toolkit for the development of HTTP servers using Ruby. Due to the nature ofUsage
A WEBrick server understands only the language oInstantiating servers
Instantiating an HTTP server
The following commands are used to start an HTTP Server at the required port.Starting a virtual host
WEBrick creates a listening port. Various other ports as ‘virtual hosts’ can also be created at the same time which do not listen as shown below:Instantiating an HTTPS server
By just enabling SSL and providing an SSL certificate name, an HTTPS server can be initiated with a_Starting_a_proxy_server
WEBrick_can_also_proxy_GET,_HEAD_and_POST__Starting_a_proxy_server
WEBrick_can_also_proxy_GET,_HEAD_and_POST_HTTP_Requests">requests_Limitations
Unlike_most_of_the_servers_that_are_used_in_production,_WEBrick_is_not_scalable_since_it_is_a_single_threaded_web_server_by_default.Starting a proxy server
WEBrick can also proxy GET, HEAD and POST HTTP Requests">requests Request may refer to: * a question, a request for information * a petition, a formal document demanding something that is submitted to an authority. Request may also refer to: Computing and technology * in computer science, a message sent be ...Limitations
Unlike most of the servers that are used in production, WEBrick is not scalable since it is a single threaded web server by default.Heroku Ruby default web serverSee also
*References
External links