Skip to content

Instantly share code, notes, and snippets.

@costajob
Created June 19, 2018 13:23

Revisions

  1. costajob created this gist Jun 19, 2018.
    5 changes: 5 additions & 0 deletions vertx.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    $vertx.create_http_server().request_handler() do |req|
    req.response()
    .put_header(content-type, "text/plain")
    .end("Hello World")
    end.listen(9292)