note description : "Basic Service that Generate HTML" date : "$Date$" revision : "$Revision$" class APPLICATION inherit WSF_DEFAULT_SERVICE redefine initialize end create make_and_launch feature {NONE} -- Initialization initialize -- Initialize current service. do set_service_option ("port", 9090) end feature -- Basic operations execute (req: WSF_REQUEST; res: WSF_RESPONSE) -- Execute the incomming request do -- To send a response we need to setup, the status code and -- the response headers. res.put_header ({HTTP_STATUS_CODE}.ok, <<["Content-Type", "text/html"], ["Content-Length", web_page.count.out]>>) res.put_string (web_page) end web_page: STRING = "[
Your Name Here
you@yourdomain.com
To take a position as a software engineer.
Junior Developer, Software Company (2010 - Present)
Languages: C#, JavaScript, Python, Ruby, Eiffel
Frameworks: .NET, Node.js, Django, Ruby on Rails, EWF
BS, Economics, My University