import { DanetRouter } from "https://deno.land/x/danet@1.5.0/mod.ts";
Module
x/danet/mod.ts>DanetRouter#createRoute
A Savory web framework for Deno heavily inspired by Nest
docexamplespecsrctoolBadGatewayExceptionBadRequestExceptionConflictExceptionDanetApplicationDanetRouterExpectationFailedExceptionFailedDependencyExceptionFilterExecutorForbiddenExceptionGatewayTimeoutExceptionGoneExceptionGuardExecutorHttpExceptionHttpVersionNotSupportedExceptionIAmATeapotExceptionInjectorInternalServerErrorExceptionLengthRequiredExceptionLoggerMethodNotAllowedExceptionMiddlewareExecutorMisdirectedExceptionModuleOptionsNotAcceptableExceptionNotFoundExceptionNotImplementedExceptionNotValidBodyExceptionPayloadTooLargeExceptionPaymentRequiredExceptionPreconditionFailedExceptionPreconditionRequiredExceptionProxyAuthenticationRequiredExceptionRequestedRangeNotSatisfiableExceptionRequestTimeoutExceptionServiceUnavailableExceptionTokenInjectorTooManyRequestsExceptionUnauthorizedExceptionUnprocessableEntityExceptionUnsupportedMediaTypeExceptionURITooLongExceptionAuthGuardDanetMiddlewareExceptionFilterInjectableOptionQueryOptionCallbackConstructorControllerConstructorExecutionContextHttpContextHttpMethodInjectableConstructorMiddlewareFunctionModuleConstructorNextFunctionOptionsResolverPossibleMiddlewareTypeResolverAllargumentResolverFunctionsMetadataKeyBodyBODY_TYPE_KEYCatchControllercreateParamDecoratorDeletefilterCatchTypeMetadataKeyfilterExceptionMetadataKeyGetGLOBAL_GUARDglobalMiddlewareContainerguardMetadataKeyHeadHeaderInjectInjectableinjectionDatainjectionTokenMetadataKeyisMiddlewareClassMiddlewaremiddlewareMetadataKeymoduleMetadataKeyOptionsParamPatchPostPutQUERY_TYPE_KEYReqResSessionUseFilterUseGuardgetInjectionTokenMetadataKeyModuleQuerytrimSlashHTTP_STATUSSCOPEByteLengthclassToPlainconstraintKeyContainscreateDecoratorcreateTypeValidatorcreateValidatorgreaterGreatergreaterOrEqualGreaterOrEqualIsAfterIsAlphaisAlphaLocalesIsAlphaNumericisAlphanumericLocalesIsArrayIsAsciiIsBase32IsBase64IsBeforeIsBicIsBigintIsBooleanIsBtcAddressIsCreditCardIsCurrencyIsDataURIIsDateIsDecimalIsDivisibleByIsEmailIsEmptyIsFunctionIsHexColorIsInternationalPhoneNumberIsIPIsLowerCaseIsNumberIsObjectisPhoneNumberIsPhoneNumberIsPortisRegexIsRegexIsStringIsSymbolIsUndefinedIsUpperCaselengthGreaterLengthGreaterlengthGreaterOrEqualLengthGreaterOrEquallengthLowerLengthLowerlengthLowerOrEqualLengthLowerOrEquallowerLowerlowerOrEqualLowerOrEqualmobilePhoneLocalesNestedplainToClasspostalCodeLocalesvalidateObjectisAfterisAlphaisAlphanumericisAsciiisBase32isBase64isBeforeisBICisBooleanisBtcAddressisByteLengthisCreditCardisCurrencyisDataURIisDateisDecimalisDivisibleByisEANisEmailisEmptyisEthereumAddressisFloatisFQDNisFullWidthisHalfWidthisHashisHexadecimalisHexColorisHSLisIBANisIdentityCardisInisIntisIPisIPRangeisISBNisISINisISO31661Alpha2isISO31661Alpha3isISO8601isISRCisISSNisJSONisJWTisLatLongisLocaleisLowerCaseisMACAddressisMagnetURIisMimeTypeisMobilePhoneisMongoIdisMultibyteisNumericisOctalisPassportNumberisPortisPostalCodeisRFC3339isRgbColorisSemVerisSlugisSurrogatePairisUpperCaseisURLisUUIDisVariableWidthisWhitelistedmatches
mod.ts (default module)
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
I
I
I
I
I
T
T
T
T
T
T
T
T
T
T
T
T
T
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
f
f
f
f
E
E
validation.ts
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f