Cryload::LoadGenerator::Worker - cryload 6.0.0

# class Cryload::LoadGenerator::Worker

- Cryload::LoadGenerator::Worker
- Reference
- Object

##
Overview

Everything a worker fiber owns exclusively: its keep-alive clients, its scratch buffer for draining response bodies, its own copy of the request headers (HTTP::Request mutates them) and its own PRNG.

##
Defined in:

cryload/load_generator.cr

##
Constructors

- .new(headers : HTTP::Headers)

##
Instance Method Summary

- #buffer : Bytes
- #clients : Hash(String, Cryload::PhasedClient)
- #close : Nil
- #evict(origin : String) : Nil
- #headers : HTTP::Headers
- #random : Random

##
Constructor Detail

def self.new(headers : HTTP::Headers) #

##
Instance Method Detail

def buffer : Bytes #
def clients : Hash(String, Cryload::PhasedClient) #
def close : Nil #
def evict(origin : String) : Nil #
def headers : HTTP::Headers #
def random : Random #