Skip to main content

Crate pingap_plugin

Crate pingap_plugin 

Source

Enums§

Error

Functions§

accepts_encoding
Returns true if accept_encoding lists coding as an acceptable encoding.
body_will_change
Takes back what a response can no longer say of itself once its body is going to be another: that ranges of it can be asked for, and that its ETag names these bytes.
get_duration_conf
Helper functions for accessing plugin configuration values
get_hash_key
Generates a unique hash key for a plugin configuration to detect changes.
get_int_conf
get_int_conf_or_default
get_plugin_factory
get_step_conf
get_step_conf_in
Resolves step, rejecting a value the plugin does not implement.
get_str_conf
Helper functions for accessing plugin configuration values
get_str_slice_conf
A list of strings. One string on its own is a list of one: that is how a single value reads in KDL (ip_list "1.2.3.4"), and it used to count as no list at all, which left an allow or deny list empty without a word.
is_partial_content
Whether the response is a part of a body and not the body: a 206, or anything that says which bytes it is.
new_body_handler_id
The name one plugin instance keeps its response body handler under.
weaken_etag
Makes a strong ETag a weak one, true when it changed the header.