pyramid_blacksmith.binding.middleware#

class pyramid_blacksmith.middleware.AbstractMiddlewareBuilder(settings: Mapping[str, str], prefix: str, metrics: blacksmith.domain.model.middleware.prometheus.PrometheusMetrics)#
abstract build() blacksmith.middleware._sync.base.SyncHTTPMiddleware#

Build the Middleware

class pyramid_blacksmith.middleware.PrometheusMetricsBuilder(settings: Mapping[str, str], prefix: str, metrics: blacksmith.domain.model.middleware.prometheus.PrometheusMetrics)#
build() blacksmith.middleware._sync.prometheus.SyncPrometheusMiddleware#

Build the Middleware

class pyramid_blacksmith.middleware.CircuitBreakerBuilder(settings: Mapping[str, str], prefix: str, metrics: blacksmith.domain.model.middleware.prometheus.PrometheusMetrics)#
build() blacksmith.middleware._sync.circuit_breaker.SyncCircuitBreakerMiddleware#

Build the Middleware

class pyramid_blacksmith.middleware.HTTPCacheBuilder(settings: Mapping[str, str], prefix: str, metrics: blacksmith.domain.model.middleware.prometheus.PrometheusMetrics)#
build() blacksmith.middleware._sync.http_cache.SyncHTTPCacheMiddleware#

Build the Middleware

class pyramid_blacksmith.middleware.HTTPStaticHeadersBuilder(settings: Mapping[str, str], prefix: str, metrics: blacksmith.domain.model.middleware.prometheus.PrometheusMetrics)#
build() blacksmith.middleware._sync.base.SyncHTTPAddHeadersMiddleware#

Build the Middleware

class pyramid_blacksmith.middleware.ZipkinBuilder(settings: Mapping[str, str], prefix: str, metrics: blacksmith.domain.model.middleware.prometheus.PrometheusMetrics)#
build() blacksmith.middleware._sync.zipkin.SyncZipkinMiddleware#

Build the Middleware