Sha256: ef891f1de3634f41ac0c8b0aa57e422d90cf67dc99e7b12dd2fe3f34ad59e75c
Contents?: true
Size: 234 Bytes
Versions: 8
Compression:
Stored size: 234 Bytes
Contents
# frozen_string_literal: true require 'bundler/setup' require 'polyphony/http' puts "pid: #{Process.pid}" puts 'Listening on port 1234...' Polyphony::HTTP::Server.serve('0.0.0.0', 1234) do |req| req.respond("Hello world!\n") end
Version data entries
8 entries across 8 versions & 2 rubygems