class Als::Server
Public Class Methods
start()
click to toggle source
# File lib/als/server.rb, line 9 def self.start port = ENV["PORT"] ? ENV["PORT"] : '0.0.0.0:3000' s = GRPC::RpcServer.new s.add_http2_port(port, :this_port_is_insecure) s.handle(ServerImpl.new) s.run_till_terminated_or_interrupted([1, 'int', 'SIGQUIT']) end