Sha256: f12af3f9a92ac80b2f8189793cf353bc4506aa1eccd960fed8ee05317ba66da9

Contents?: true

Size: 532 Bytes

Versions: 6

Compression:

Stored size: 532 Bytes

Contents

class Server
  @bind: String
  @cache: Hash[Symbol, Array]
  @context: OpenSSL::SSL::SSLContext
  @endpoints_to_cache: Array[String]
  @macaw: MacawFramework::Macaw
  @macaw_log: Logger
  @num_threads: Integer
  @port: Integer

  @prometheus: untyped
  @prometheus_middleware: untyped
  @server: TCPServer|OpenSSL::SSL::SSLServer

  @threads: Integer

  @work_queue: Thread::Queue

  @workers: Array[Thread]

  def close: -> nil

  def run: -> nil

  private

  def call_endpoint: -> Array[untyped]

  def handle_client: -> nil
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
macaw_framework-1.0.5 sig/server.rbs
macaw_framework-1.0.4 sig/server.rbs
macaw_framework-1.0.3 sig/server.rbs
macaw_framework-1.0.2 sig/server.rbs
macaw_framework-1.0.1 sig/server.rbs
macaw_framework-1.0.0 sig/server.rbs