Sha256: f48ce20969350600317921b666b494c16c3ff560dea33c368c043e0ab37b9907

Contents?: true

Size: 754 Bytes

Versions: 1

Compression:

Stored size: 754 Bytes

Contents

module MacawFramework
  class Macaw
    @bind: String
    @cache: untyped
    @config: Hash[String, untyped]
    @endpoints_to_cache: Array[String]
    @macaw_log: Logger?

    @prometheus: untyped
    @prometheus_middleware: untyped
    @server: Server

    @threads: Integer

    attr_reader bind: String
    attr_reader config: Hash[String, untyped]
    attr_reader macaw_log: Logger?
    attr_reader port: Integer
    attr_reader routes: Array[String]

    attr_reader threads: Integer

    def delete: -> nil

    def get: -> nil

    def patch: -> nil

    def post: -> nil

    def put: -> nil

    def start!: -> nil

    private

    def extract_body: -> string

    def extract_client_info: -> nil

    def extract_headers: -> string
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
macaw_framework-1.1.0 sig/macaw_framework/macaw.rbs