Forked from KempfCreative/ctx methods and properties
Created
November 8, 2023 08:30
-
-
Save chinhvo/772f673d8efd8416d80914e053fb3f90 to your computer and use it in GitHub Desktop.
Strapi ctx internals
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
request | |
response | |
app | |
req | |
res | |
originalUrl | |
state | |
_i18n | |
matched | |
router | |
_matchedRoute | |
captures | |
params | |
routerName | |
log | |
boomify | |
wrap | |
create | |
badRequest | |
unauthorized | |
paymentRequired | |
forbidden | |
notFound | |
methodNotAllowed | |
notAcceptable | |
proxyAuthRequired | |
clientTimeout | |
conflict | |
resourceGone | |
lengthRequired | |
preconditionFailed | |
entityTooLarge | |
uriTooLong | |
unsupportedMediaType | |
rangeNotSatisfiable | |
expectationFailed | |
teapot | |
badData | |
locked | |
preconditionRequired | |
tooManyRequests | |
illegal | |
internal | |
notImplemented | |
badGateway | |
serverUnavailable | |
gatewayTimeout | |
badImplementation | |
send | |
created | |
getLocaleFromQuery | |
getLocaleFromSubdomain | |
getLocaleFromHeader | |
getLocaleFromCookie | |
getLocaleFromUrl | |
getLocaleFromTLD | |
inspect | |
toJSON | |
assert | |
throw | |
onerror | |
cookies | |
attachment | |
redirect | |
remove | |
vary | |
set | |
append | |
flushHeaders | |
status | |
message | |
body | |
length | |
type | |
lastModified | |
etag | |
headerSent | |
writable | |
acceptsLanguages | |
acceptsEncodings | |
acceptsCharsets | |
accepts | |
get | |
is | |
querystring | |
idempotent | |
socket | |
search | |
method | |
query | |
path | |
url | |
accept | |
origin | |
href | |
subdomains | |
protocol | |
host | |
hostname | |
URL | |
header | |
headers | |
secure | |
stale | |
fresh | |
ips | |
ip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment