Sha256: 466d7b457c27df36b1b5208c573bb46486180c944fea107b8b512db85ba5b9fc
Contents?: true
Size: 549 Bytes
Versions: 7
Compression:
Stored size: 549 Bytes
Contents
module Reel class Server class HTTP < Server # Create a new Reel HTTP server # # @param [String] host address to bind to # @param [Fixnum] port to bind to # @option options [Fixnum] backlog of requests to accept # # @return [Reel::Server::HTTP] Reel HTTP server actor def initialize(host, port, options={}, &callback) server = Celluloid::IO::TCPServer.new(host, port) options.merge!(host: host, port: port) super(server, options, &callback) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems