Skip to Content
Drash v3 is in beta. APIs may change.
ReferenceModulesBuildersOverview

Builders

Factory functions that create builders, following the builder pattern . One page per file in modules/builders/.

FileFactorybuild() returns
RequestChainBuilderrequestChain()The chain head
ResponseBuilderresponse()A Web Response
RequestBuilderrequest()A Web Request

build() is always the terminal call and always returns the finished object (aka product). Which contract each one declares differs — see Builder.

The two middleware response builders that extend ResponseBuilder are documented on their own middleware pages: ETag and RateLimiter.

Last updated on