buildRegularRequest() — fastify Function Reference
Architecture documentation for the buildRegularRequest() function in request.js from the fastify codebase.
Entity Profile
Dependency Diagram
graph TD b3890e54_c12f_beef_85cc_40bd4eb33c60["buildRegularRequest()"] 3043e2d7_25f2_f891_cdeb_063719d4cac2["request.js"] b3890e54_c12f_beef_85cc_40bd4eb33c60 -->|defined in| 3043e2d7_25f2_f891_cdeb_063719d4cac2 23ccc8c0_8bbd_453a_2952_2ddfbe774148["buildRequest()"] 23ccc8c0_8bbd_453a_2952_2ddfbe774148 -->|calls| b3890e54_c12f_beef_85cc_40bd4eb33c60 0853a9df_938e_78e1_d709_3314e1b8d395["buildRequestWithTrustProxy()"] 0853a9df_938e_78e1_d709_3314e1b8d395 -->|calls| b3890e54_c12f_beef_85cc_40bd4eb33c60 style b3890e54_c12f_beef_85cc_40bd4eb33c60 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
lib/request.js lines 66–89
function buildRegularRequest (R) {
const props = R.props.slice()
function _Request (id, params, req, query, log, context) {
this.id = id
this[kRouteContext] = context
this.params = params
this.raw = req
this.query = query
this.log = log
this.body = undefined
let prop
for (let i = 0; i < props.length; i++) {
prop = props[i]
this[prop.key] = prop.value
}
}
Object.setPrototypeOf(_Request.prototype, R.prototype)
Object.setPrototypeOf(_Request, R)
_Request.props = props
_Request.parent = R
return _Request
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does buildRegularRequest() do?
buildRegularRequest() is a function in the fastify codebase, defined in lib/request.js.
Where is buildRegularRequest() defined?
buildRegularRequest() is defined in lib/request.js at line 66.
What calls buildRegularRequest()?
buildRegularRequest() is called by 2 function(s): buildRequest, buildRequestWithTrustProxy.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free