SYMBOL INDEX (519 symbols across 51 files) FILE: benchmarks/bm_http1_parser.rb function measure_time_and_allocs (line 7) | def measure_time_and_allocs function object_count (line 21) | def object_count function benchmark_other_http1_parser (line 26) | def benchmark_other_http1_parser(iterations) function benchmark_tipi_http1_parser (line 54) | def benchmark_tipi_http1_parser(iterations) function fork_benchmark (line 70) | def fork_benchmark(method, iterations) FILE: df/agent.rb class SampleAgent (line 11) | class SampleAgent < DigitalFabric::Agent method initialize (line 12) | def initialize(id, server_url) method http_request (line 18) | def http_request(req) method streaming_http_request (line 25) | def streaming_http_request(req) method form_http_request (line 42) | def form_http_request(req) method do_some_activity (line 48) | def do_some_activity method generate_data (line 52) | def generate_data(length) FILE: df/etc_benchmark.rb function generate (line 5) | def generate FILE: df/multi_agent_supervisor.rb class AgentManager (line 12) | class AgentManager method initialize (line 13) | def initialize method process_pending_action (line 19) | def process_pending_action method start_agent (line 29) | def start_agent(spec) method stop_agent (line 42) | def stop_agent(spec) method update (line 50) | def update method run (line 63) | def run class RealityAgentManager (line 68) | class RealityAgentManager < AgentManager method agent_specs (line 69) | def agent_specs method launch_agent_from_spec (line 73) | def launch_agent_from_spec(spec) FILE: df/multi_client.rb class Client (line 7) | class Client method initialize (line 8) | def initialize(id, host, port, http_host, interval) method run (line 17) | def run method connect (line 24) | def connect method issue_requests (line 36) | def issue_requests method do_request (line 51) | def do_request method wait_for_response (line 62) | def wait_for_response function spin_client (line 70) | def spin_client(id, host) FILE: df/routing_benchmark.rb class FakeAgent (line 7) | class FakeAgent method initialize (line 8) | def initialize(idx) function setup_df_service_with_agents (line 13) | def setup_df_service_with_agents(agent_count) function benchmark_route_compilation (line 21) | def benchmark_route_compilation(agent_count, iterations) class FauxRequest (line 29) | class FauxRequest method initialize (line 30) | def initialize(agent_count) method headers (line 34) | def headers function benchmark_find_agent (line 39) | def benchmark_find_agent(agent_count, iterations) function benchmark (line 50) | def benchmark FILE: df/sample_agent.rb class SampleAgent (line 11) | class SampleAgent < DigitalFabric::Agent method http_request (line 15) | def http_request(req) method ws_request (line 52) | def ws_request(req) method stream_sse_response (line 62) | def stream_sse_response(req) FILE: df/server_utils.rb function log (line 19) | def log(msg, **ctx) function listen_http (line 32) | def listen_http function listen_https (line 61) | def listen_https function listen_unix (line 115) | def listen_unix function listen_df (line 136) | def listen_df FILE: df/stress.rb function monitor_process (line 9) | def monitor_process(cmd) FILE: examples/http1_parser.rb type ::Kernel (line 8) | module ::Kernel function trace (line 9) | def trace(*args) function format_trace (line 13) | def format_trace(args) FILE: examples/http_request_ws_server.rb function ws_handler (line 7) | def ws_handler(conn) FILE: examples/http_server.js constant MSG (line 7) | const MSG = 'Hello World'; FILE: examples/http_server_timeout.rb function timeout_handler (line 11) | def timeout_handler(timeout, &handler) FILE: examples/http_ws_server.rb function ws_handler (line 7) | def ws_handler(conn) FILE: examples/https_wss_server.rb function ws_handler (line 8) | def ws_handler(conn) FILE: examples/websocket_client.rb class WebsocketClient (line 9) | class WebsocketClient method initialize (line 10) | def initialize(url, headers = {}) method do_handshake (line 15) | def do_handshake(url, headers) method receive (line 28) | def receive method send (line 36) | def send(data) method close (line 46) | def close FILE: examples/websocket_demo.rb class WebsocketClient (line 7) | class WebsocketClient method initialize (line 8) | def initialize(url, headers = {}) method do_handshake (line 13) | def do_handshake(url, headers) method receive (line 26) | def receive method send (line 37) | def send(data) method close (line 47) | def close FILE: examples/websocket_secure_server.rb function ws_handler (line 7) | def ws_handler(conn) FILE: examples/websocket_server.rb function ws_handler (line 7) | def ws_handler(conn) FILE: examples/zlib-bench.rb function create_files (line 10) | def create_files FILE: lib/tipi.rb class Qeweney::Request (line 13) | class Qeweney::Request type Tipi (line 17) | module Tipi function serve (line 22) | def serve(host, port, opts = {}, &handler) function listen (line 30) | def listen(host, port, opts = {}) function accept_loop (line 39) | def accept_loop(server, opts, &handler) function client_loop (line 47) | def client_loop(client, opts, &handler) function protocol_adapter (line 57) | def protocol_adapter(socket, opts) function route (line 64) | def route(&block) FILE: lib/tipi/acme.rb type Tipi (line 7) | module Tipi type ACME (line 8) | module ACME class Error (line 9) | class Error < StandardError class CertificateManager (line 12) | class CertificateManager method initialize (line 13) | def initialize(master_ctx:, store:, challenge_handler:, valid_hosts:) method challenge_routing_app (line 26) | def challenge_routing_app(app) method setup_sni_callback (line 38) | def setup_sni_callback method get_ctx (line 42) | def get_ctx(name) method wait_for_ctx (line 65) | def wait_for_ctx(state) method run (line 78) | def run method get_context (line 89) | def get_context(name) method setup_context (line 93) | def setup_context(name) method provision_context (line 99) | def provision_context(name) method transfer_ctx_settings (line 110) | def transfer_ctx_settings(ctx) method parse_certificate (line 118) | def parse_certificate(certificate) method get_expired_stamp (line 124) | def get_expired_stamp(certificate) method get_certificate (line 130) | def get_certificate(name) method localhost_context (line 139) | def localhost_context method private_key (line 144) | def private_key method acme_client (line 150) | def acme_client method setup_acme_client (line 154) | def setup_acme_client method provision_certificate (line 166) | def provision_certificate(name) class HTTPChallengeHandler (line 205) | class HTTPChallengeHandler method initialize (line 206) | def initialize method add (line 210) | def add(challenge) method remove (line 215) | def remove(challenge) method call (line 220) | def call(req) class CertificateStore (line 231) | class CertificateStore method set (line 232) | def set(name, private_key:, certificate:, expired_stamp:) method get (line 236) | def get(name) class InMemoryCertificateStore (line 241) | class InMemoryCertificateStore method initialize (line 242) | def initialize method set (line 246) | def set(name, private_key:, certificate:, expired_stamp:) method get (line 254) | def get(name) class SQLiteCertificateStore (line 266) | class SQLiteCertificateStore method initialize (line 269) | def initialize(path) method set (line 283) | def set(name, private_key:, certificate:, expired_stamp:) method get (line 292) | def get(name) method remove_expired_certificates (line 309) | def remove_expired_certificates FILE: lib/tipi/cli.rb type Tipi (line 8) | module Tipi function opts_from_argv (line 18) | def self.opts_from_argv(argv) function parse_listen_spec (line 51) | def self.parse_listen_spec(type, spec) function str_to_native_type (line 55) | def self.str_to_native_type(str) function verify_path (line 64) | def self.verify_path(path) type CLI (line 71) | module CLI function start (line 82) | def self.start(argv = ARGV.dup) function display_banner (line 89) | def self.display_banner FILE: lib/tipi/config_dsl.rb type Tipi (line 3) | module Tipi type Configuration (line 4) | module Configuration class Interpreter (line 5) | class Interpreter method initialize (line 8) | def initialize(assembler) method gzip_response (line 12) | def gzip_response method log (line 16) | def log(out) method error (line 20) | def error(&block) method match (line 24) | def match(pattern, &block) class Assembler (line 29) | class Assembler method from_source (line 30) | def self.from_source(code) method from_source (line 34) | def from_source(code) method new_frame (line 48) | def new_frame method add_frame (line 55) | def add_frame(&block) method wrap_current_frame (line 63) | def wrap_current_frame(head) method emit (line 71) | def emit(code) method emit_prelude (line 75) | def emit_prelude(code) method emit_exception_handler (line 79) | def emit_exception_handler(&block) method emit_block (line 84) | def emit_block(conditional, &block) method add_app_proc (line 91) | def add_app_proc(proc) method assemble_frame (line 97) | def assemble_frame(frame) method assemble_app_proc (line 115) | def assemble_app_proc(frame) method emit_code (line 126) | def emit_code(lines, code, indent) method indent_line (line 136) | def indent_line(code, indent) function assemble (line 144) | def assemble(code) FILE: lib/tipi/configuration.rb type Tipi (line 5) | module Tipi type Configuration (line 6) | module Configuration function supervise_config (line 8) | def supervise_config function run (line 16) | def run(config) function start_listeners (line 21) | def start_listeners(config) function simple_supervise (line 26) | def simple_supervise(config) function forked_supervise (line 33) | def forked_supervise(config) function setup_virtual_hosts (line 40) | def setup_virtual_hosts(config) function start_acceptors (line 46) | def start_acceptors(config, virtual_hosts) FILE: lib/tipi/controller/bare_stock.rb type Tipi (line 3) | module Tipi type Apps (line 4) | module Apps type Bare (line 5) | module Bare function start (line 6) | def start(opts) FILE: lib/tipi/controller/extensions.rb type Kernel (line 5) | module Kernel function run (line 6) | def run(app = nil, &block) type Tipi (line 11) | module Tipi function app (line 15) | def app function run_sites (line 21) | def run_sites(site_map) FILE: lib/tipi/controller/stock_http1_adapter.rb type Tipi (line 5) | module Tipi class StockHTTP1Adapter (line 6) | class StockHTTP1Adapter < HTTP1Adapter method initialize (line 7) | def initialize(conn, opts) method each (line 12) | def each(&block) FILE: lib/tipi/controller/web_polyphony.rb type Tipi (line 7) | module Tipi class Controller (line 8) | class Controller method initialize (line 9) | def initialize(opts) method run (line 17) | def run method supervise_workers (line 26) | def supervise_workers(worker_count) method run_worker (line 52) | def run_worker method prepare_service (line 66) | def prepare_service method start_app (line 76) | def start_app method rack_service (line 84) | def rack_service method tipi_service (line 90) | def tipi_service method static_service (line 98) | def static_service method web_service (line 111) | def web_service(app) method prepare_listener (line 117) | def prepare_listener(spec, app) method prepare_http_listener (line 152) | def prepare_http_listener(port, app) method prepare_https_listener (line 164) | def prepare_https_listener(host, port, app) method prepare_localhost_https_listener (line 172) | def prepare_localhost_https_listener(port, app) method prepare_full_service_listeners (line 189) | def prepare_full_service_listeners(host, http_port, https_port, app) method http_redirect_app (line 223) | def http_redirect_app(https_port) method find_path (line 234) | def find_path(base, path) method spin_accept_loop (line 253) | def spin_accept_loop(name, port, &block) method spin_connection_handler (line 269) | def spin_connection_handler(name, socket, block) method finalize_listener (line 280) | def finalize_listener(server) method gracefully_terminate_conections (line 290) | def gracefully_terminate_conections(fiber) method add_connection_headers (line 298) | def add_connection_headers(app) method ssl_accept (line 308) | def ssl_accept(client) method start_https_connection_fiber (line 318) | def start_https_connection_fiber(socket, ctx, thread_pool, app) method create_certificate_store (line 341) | def create_certificate_store method start_server (line 346) | def start_server(service) FILE: lib/tipi/controller/web_stock.rb type Tipi (line 10) | module Tipi class Listener (line 11) | class Listener method initialize (line 12) | def initialize(server, &handler) method accept (line 17) | def accept class Connection (line 23) | class Connection method io_ready (line 24) | def io_ready class HTTP1Connection (line 29) | class HTTP1Connection < Connection method initialize (line 32) | def initialize(io, evloop, &app) method setup_read_request (line 40) | def setup_read_request method on_headers_complete (line 46) | def on_headers_complete(headers) method normalize_headers (line 56) | def normalize_headers(headers) method scheme_from_connection (line 69) | def scheme_from_connection method on_body (line 73) | def on_body(chunk) method on_message_complete (line 77) | def on_message_complete method io_ready (line 81) | def io_ready method handle_read_request (line 89) | def handle_read_request method watch_io (line 112) | def watch_io(rw) method close_io (line 117) | def close_io method handle_request (line 121) | def handle_request method respond (line 138) | def respond(request, body, headers) method send_headers (line 155) | def send_headers(request, headers, empty_response: false, chunked: t... method http1_1? (line 161) | def http1_1?(request) method send_chunk (line 172) | def send_chunk(request, chunk, done: false) method finish (line 185) | def finish(request) method format_headers (line 198) | def format_headers(headers, body, chunked) method format_status_line (line 211) | def format_status_line(body, status, chunked) method empty_status_line (line 219) | def empty_status_line(status) method with_body_status_line (line 227) | def with_body_status_line(status, body, chunked) method collect_header_lines (line 235) | def collect_header_lines(lines, key, value) method handle_write (line 243) | def handle_write(data = nil) class Controller (line 267) | class Controller method initialize (line 268) | def initialize(opts) method run (line 276) | def run method supervise_workers (line 285) | def supervise_workers(worker_count) method run_worker (line 307) | def run_worker method run_evloop (line 318) | def run_evloop method prepare_service (line 337) | def prepare_service method start_app (line 347) | def start_app method rack_service (line 355) | def rack_service method tipi_service (line 361) | def tipi_service method static_service (line 371) | def static_service method web_service (line 385) | def web_service(app) method prepare_listener (line 391) | def prepare_listener(spec, app) method prepare_http_listener (line 426) | def prepare_http_listener(port, app) method start_client (line 436) | def start_client(socket, &app) method prepare_https_listener (line 443) | def prepare_https_listener(host, port, app) method prepare_localhost_https_listener (line 451) | def prepare_localhost_https_listener(port, app) method prepare_full_service_listeners (line 468) | def prepare_full_service_listeners(host, http_port, https_port, app) method find_path (line 505) | def find_path(base, path) method start_listener (line 524) | def start_listener(name, port, &block) method spin_accept_loop (line 538) | def spin_accept_loop(name, port, &block) method spin_connection_handler (line 554) | def spin_connection_handler(name, socket, block) method finalize_listener (line 565) | def finalize_listener(server) method gracefully_terminate_conections (line 575) | def gracefully_terminate_conections(fiber) method add_connection_headers (line 583) | def add_connection_headers(app) method ssl_accept (line 593) | def ssl_accept(client) method start_https_connection_fiber (line 603) | def start_https_connection_fiber(socket, ctx, thread_pool, app) method create_certificate_store (line 626) | def create_certificate_store method start_server (line 631) | def start_server(service) FILE: lib/tipi/digital_fabric.rb type DigitalFabric (line 1) | module DigitalFabric FILE: lib/tipi/digital_fabric/agent.rb type DigitalFabric (line 10) | module DigitalFabric class Agent (line 11) | class Agent method initialize (line 12) | def initialize(server_url, route, token) class TimeoutError (line 21) | class TimeoutError < RuntimeError class GracefulShutdown (line 24) | class GracefulShutdown < RuntimeError method run (line 29) | def run method connect_and_process_incoming_requests (line 41) | def connect_and_process_incoming_requests method connect_to_server (line 56) | def connect_to_server method df_upgrade (line 76) | def df_upgrade method mount_point (line 84) | def mount_point method log (line 94) | def log(msg) method process_incoming_requests (line 98) | def process_incoming_requests method keep_alive (line 107) | def keep_alive method recv_df_message (line 122) | def recv_df_message(msg) method send_df_message (line 140) | def send_df_message(msg) method is_long_running_request_response? (line 152) | def is_long_running_request_response?(msg) method recv_shutdown (line 161) | def recv_shutdown method recv_http_request (line 168) | def recv_http_request(msg) method prepare_http_request (line 185) | def prepare_http_request(msg) method recv_http_request_body (line 194) | def recv_http_request_body(msg) method get_http_request_body (line 201) | def get_http_request_body(id, limit) method recv_ws_request (line 206) | def recv_ws_request(msg) method http_request (line 221) | def http_request(req) method ws_request (line 226) | def ws_request(req) FILE: lib/tipi/digital_fabric/agent_proxy.rb type DigitalFabric (line 7) | module DigitalFabric class AgentProxy (line 8) | class AgentProxy method initialize (line 9) | def initialize(service, req) method current_request_count (line 21) | def current_request_count class TimeoutError (line 25) | class TimeoutError < RuntimeError class GracefulShutdown (line 28) | class GracefulShutdown < RuntimeError method run (line 31) | def run method process_incoming_messages (line 45) | def process_incoming_messages(shutdown = false) method unmount (line 56) | def unmount method send_shutdown (line 63) | def send_shutdown method keep_alive (line 68) | def keep_alive method route (line 79) | def route method recv_df_message (line 92) | def recv_df_message(message) method send_df_message (line 114) | def send_df_message(message) method register_request_fiber (line 123) | def register_request_fiber method unregister_request_fiber (line 129) | def unregister_request_fiber(id) method with_request (line 133) | def with_request method http_request (line 143) | def http_request(req) method http_request_send_error_response (line 171) | def http_request_send_error_response(error) method http_request_message (line 179) | def http_request_message(id, req, kind, message) method send_transfer_count (line 195) | def send_transfer_count(key, rx, tx) method handle_stats_request (line 199) | def handle_stats_request(id) method http_custom_upgrade (line 206) | def http_custom_upgrade(id, req, headers) method http_custom_upgrade_message (line 226) | def http_custom_upgrade_message(conn, message) method http_response (line 239) | def http_response(id, req, body, headers, complete, transfer_count_key) method http_get_request_body (line 261) | def http_get_request_body(id, req, limit) method http_upgrade (line 276) | def http_upgrade(req, protocol) method handle_websocket_upgrade (line 288) | def handle_websocket_upgrade(req) method run_websocket_connection (line 310) | def run_websocket_connection(id, websocket) FILE: lib/tipi/digital_fabric/executive.rb type DigitalFabric (line 6) | module DigitalFabric class Executive (line 8) | class Executive method initialize (line 13) | def initialize(service, route = { path: '/executive' }) method current_request_count (line 22) | def current_request_count method http_request (line 26) | def http_request(req) method stream_stats (line 47) | def stream_stats(req) method format_sse_event (line 60) | def format_sse_event(data) method update_service_stats (line 64) | def update_service_stats method machine_stats (line 77) | def machine_stats FILE: lib/tipi/digital_fabric/protocol.rb type DigitalFabric (line 3) | module DigitalFabric type Protocol (line 4) | module Protocol type Attribute (line 31) | module Attribute type HttpRequest (line 35) | module HttpRequest type HttpResponse (line 41) | module HttpResponse type HttpUpgrade (line 48) | module HttpUpgrade type HttpGetRequestBody (line 52) | module HttpGetRequestBody type HttpRequestBody (line 56) | module HttpRequestBody type ConnectionData (line 61) | module ConnectionData type WS (line 65) | module WS type TransferCount (line 70) | module TransferCount type Stats (line 76) | module Stats function ping (line 82) | def ping function shutdown (line 86) | def shutdown function unmount (line 90) | def unmount function df_upgrade_response (line 101) | def df_upgrade_response function http_request (line 105) | def http_request(id, headers, buffered_chunk, complete) function http_response (line 109) | def http_response(id, body, headers, complete, transfer_count_key = ... function http_upgrade (line 113) | def http_upgrade(id, headers) function http_get_request_body (line 117) | def http_get_request_body(id, limit = nil) function http_request_body (line 121) | def http_request_body(id, body, complete) function connection_data (line 125) | def connection_data(id, data) function connection_close (line 129) | def connection_close(id) function ws_request (line 133) | def ws_request(id, headers) function ws_response (line 137) | def ws_response(id, headers) function ws_data (line 141) | def ws_data(id, data) function ws_close (line 145) | def ws_close(id) function transfer_count (line 149) | def transfer_count(key, rx, tx) function stats_request (line 153) | def stats_request(id) function stats_response (line 157) | def stats_response(id, stats) FILE: lib/tipi/digital_fabric/request_adapter.rb type DigitalFabric (line 5) | module DigitalFabric class RequestAdapter (line 6) | class RequestAdapter method initialize (line 7) | def initialize(agent, msg) method protocol (line 12) | def protocol method get_body_chunk (line 16) | def get_body_chunk(request) method respond (line 20) | def respond(request, body, headers) method send_headers (line 26) | def send_headers(request, headers, opts = {}) method send_chunk (line 32) | def send_chunk(request, body, done: ) method finish (line 38) | def finish(request) FILE: lib/tipi/digital_fabric/service.rb type DigitalFabric (line 7) | module DigitalFabric class Service (line 8) | class Service method initialize (line 12) | def initialize(token: ) method calculate_stats (line 31) | def calculate_stats method pid_cpu_and_rss (line 84) | def pid_cpu_and_rss(pid) method get_stats (line 94) | def get_stats method incr_connection_count (line 98) | def incr_connection_count method decr_connection_count (line 102) | def decr_connection_count method total_request_count (line 108) | def total_request_count method record_latency_measurement (line 118) | def record_latency_measurement(latency, req) method http_request (line 127) | def http_request(req, allow_df_upgrade = false) method inject_request_headers (line 156) | def inject_request_headers(req) method upgrade_request (line 163) | def upgrade_request(req, allow_df_upgrade) method df_upgrade (line 182) | def df_upgrade(req) method mount (line 195) | def mount(route, agent) method unmount (line 204) | def unmount(agent) method find_agent (line 215) | def find_agent(req) method compile_agent_routes (line 229) | def compile_agent_routes method path_regexp (line 240) | def path_regexp(path) method graceful_shutdown (line 244) | def graceful_shutdown FILE: lib/tipi/handler.rb type Tipi (line 7) | module Tipi class DefaultHandler (line 8) | class DefaultHandler method initialize (line 9) | def initialize(config) method call (line 16) | def call(socket) method protocol_adapter (line 27) | def protocol_adapter(socket, opts) FILE: lib/tipi/http1_adapter.rb type Tipi (line 8) | module Tipi class HTTP1Adapter (line 10) | class HTTP1Adapter method initialize (line 14) | def initialize(conn, opts) method each (line 21) | def each(&block) method handle_request (line 36) | def handle_request(headers, &block) method persistent_connection? (line 56) | def persistent_connection?(headers) method finalize_client_loop (line 65) | def finalize_client_loop method get_body_chunk (line 74) | def get_body_chunk(request, buffered_only = false) method get_body (line 78) | def get_body(request) method complete? (line 82) | def complete?(request) method protocol (line 86) | def protocol method upgrade_connection (line 112) | def upgrade_connection(headers, &block) method upgrade_with_handler (line 124) | def upgrade_with_handler(handler, headers) method upgrade_to_http2 (line 130) | def upgrade_to_http2(headers, &block) method http2_upgraded_headers (line 140) | def http2_upgraded_headers(headers) method websocket_connection (line 147) | def websocket_connection(request) method scheme_from_connection (line 151) | def scheme_from_connection method respond (line 164) | def respond(request, body, headers) method respond_from_io (line 171) | def respond_from_io(request, io, headers, chunk_size = 2**14) method send_headers (line 194) | def send_headers(request, headers, empty_response: false, chunked: t... method http1_1? (line 200) | def http1_1?(request) method send_chunk (line 211) | def send_chunk(request, chunk, done: false) method send_chunk_from_io (line 226) | def send_chunk_from_io(request, io, r, w, chunk_size) method finish (line 243) | def finish(request) method close (line 248) | def close method format_headers (line 263) | def format_headers(headers, body, chunked) method format_status_line (line 276) | def format_status_line(body, status, chunked) method empty_status_line (line 284) | def empty_status_line(status) method with_body_status_line (line 292) | def with_body_status_line(status, body, chunked) method collect_header_lines (line 300) | def collect_header_lines(lines, key, value) FILE: lib/tipi/http2_adapter.rb class HTTP2::Stream (line 7) | class HTTP2::Stream method end_stream? (line 8) | def end_stream?(frame) type Tipi (line 17) | module Tipi class HTTP2Adapter (line 19) | class HTTP2Adapter method upgrade_each (line 20) | def self.upgrade_each(socket, opts, headers, body, &block) method initialize (line 25) | def initialize(conn, opts, upgrade_headers = nil, upgrade_body = nil) method send_frame (line 40) | def send_frame(data) method upgrade (line 58) | def upgrade method each (line 68) | def each(&block) method get_rx_count (line 82) | def get_rx_count method get_tx_count (line 88) | def get_tx_count method start_stream (line 94) | def start_stream(stream, &block) method finalize_client_loop (line 100) | def finalize_client_loop method close (line 107) | def close method set_request_for_transfer_count (line 112) | def set_request_for_transfer_count(request) method unset_request_for_transfer_count (line 116) | def unset_request_for_transfer_count(request) FILE: lib/tipi/http2_stream.rb type Tipi (line 6) | module Tipi class HTTP2StreamHandler (line 8) | class HTTP2StreamHandler method initialize (line 11) | def initialize(adapter, stream, conn, first, &block) method run (line 35) | def run(&block) method on_headers (line 48) | def on_headers(headers) method on_data (line 59) | def on_data(data) method on_half_close (line 66) | def on_half_close method protocol (line 71) | def protocol method with_transfer_count (line 75) | def with_transfer_count(request) method get_body_chunk (line 82) | def get_body_chunk(request, buffered_only = false) method get_body (line 96) | def get_body(request) method complete? (line 111) | def complete?(request) method respond (line 116) | def respond(request, body, headers) method respond_from_io (line 127) | def respond_from_io(request, io, headers, chunk_size = 2**16) method transform_headers (line 140) | def transform_headers(headers) method send_headers (line 150) | def send_headers(request, headers, empty_response: false) method send_chunk (line 163) | def send_chunk(request, chunk, done: false) method finish (line 177) | def finish(request) method stop (line 190) | def stop method normalize_status_header (line 199) | def normalize_status_header(headers, default_status = Qeweney::Statu... FILE: lib/tipi/rack_adapter.rb type Tipi (line 5) | module Tipi type RackAdapter (line 6) | module RackAdapter function run (line 8) | def run(app) function load (line 12) | def load(path) function env (line 17) | def env(request) function respond (line 21) | def respond(request, (status_code, headers, body)) FILE: lib/tipi/response_extensions.rb type Tipi (line 5) | module Tipi type ResponseExtensions (line 6) | module ResponseExtensions function serve_io (line 9) | def serve_io(io, opts) FILE: lib/tipi/supervisor.rb type Tipi (line 6) | module Tipi type Supervisor (line 7) | module Supervisor function run (line 9) | def run(opts) function start_controller_watcher (line 16) | def start_controller_watcher function controller_cmd (line 35) | def controller_cmd function supervise_loop (line 43) | def supervise_loop function replace_controller (line 63) | def replace_controller FILE: lib/tipi/version.rb type Tipi (line 3) | module Tipi FILE: lib/tipi/websocket.rb type Tipi (line 6) | module Tipi class Websocket (line 8) | class Websocket method handler (line 9) | def self.handler(&block) method initialize (line 17) | def initialize(conn, headers) method recv (line 24) | def recv method recv_loop (line 39) | def recv_loop method send (line 54) | def send(data) method close (line 62) | def close FILE: test/coverage.rb function whitespace_line? (line 8) | def whitespace_line?(line) type Coverage (line 13) | module Coverage function relevant_lines_for_filename (line 20) | def relevant_lines_for_filename(filename) function start (line 25) | def start function result (line 39) | def result FILE: test/eg.rb type Kernel (line 3) | module Kernel function eg (line 7) | def eg(hash) FILE: test/helper.rb class Minitest::Test (line 16) | class Minitest::Test method setup (line 17) | def setup method teardown (line 26) | def teardown type Kernel (line 41) | module Kernel function capture_exception (line 42) | def capture_exception function trace (line 48) | def trace(*args) function format_trace (line 52) | def format_trace(args) class IO (line 65) | class IO method server_client_mockup (line 67) | def self.server_client_mockup method mockup_connection (line 77) | def self.mockup_connection(input, output, output2) type Minitest::Assertions (line 93) | module Minitest::Assertions function assert_in_range (line 94) | def assert_in_range exp_range, act FILE: test/test_http_server.rb class String (line 6) | class String method crlf_lines (line 7) | def crlf_lines class HTTP1ServerTest (line 12) | class HTTP1ServerTest < Minitest::Test method teardown (line 13) | def teardown method spin_server (line 19) | def spin_server(opts = {}, &handler) method test_that_server_uses_content_length_in_http_1_0 (line 27) | def test_that_server_uses_content_length_in_http_1_0 method test_that_server_uses_chunked_encoding_in_http_1_1 (line 45) | def test_that_server_uses_chunked_encoding_in_http_1_1 method test_that_server_maintains_connection_when_using_keep_alives (line 63) | def test_that_server_maintains_connection_when_using_keep_alives method test_pipelining_client (line 93) | def test_pipelining_client method test_body_chunks (line 118) | def test_body_chunks method test_upgrade (line 171) | def test_upgrade method test_big_download (line 241) | def test_big_download FILE: test/test_request.rb class String (line 6) | class String method http_lines (line 7) | def http_lines class RequestHeadersTest (line 12) | class RequestHeadersTest < Minitest::Test method teardown (line 13) | def teardown method spin_server (line 19) | def spin_server(opts = {}, &handler) method test_request_headers (line 27) | def test_request_headers method test_request_host (line 46) | def test_request_host method test_request_connection (line 58) | def test_request_connection method test_request_upgrade_protocol (line 70) | def test_request_upgrade_protocol