Skip to content

Commit

Permalink
Use #no_environment_strings in example for better performance
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Aug 1, 2009
1 parent 1d896fd commit 2ee1d41
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README
Expand Up @@ -17,8 +17,12 @@
class MyHttpServer < EM::Connection
include EM::HttpServer

def process_http_request
def post_init
super
no_environment_strings
end

def process_http_request
# the http request details are available via the following instance variables:
# @http_protocol
# @http_request_method
Expand Down

0 comments on commit 2ee1d41

Please sign in to comment.