import { type Drash } from "https://deno.land/x/drash@v2.8.1/src/services/graphql/deps.ts";
const { IResource } = Drash.Interfaces;
path_parameters A key-value string defining the path parameters that were passed in by the request. This value is set in resource_handler.ts#getResource().
uri_paths_parsed See IResourcePathsParsed.
services The services that will be run before or after one of this resource's HTTP methods.
CONNECT() DELETE() GET() HEAD() OPTIONS() PATCH() POST() PUT() TRACE() If a request performs one of the above HTTP methods and the request is matched to this resource, then this method will be executed.
Properties
optional
services: IResourceServicesoptional
CONNECT: (request: DrashRequest, response: Response) => Promise<void> | voidoptional
DELETE: (request: DrashRequest, response: Response) => Promise<void> | voidoptional
GET: (request: DrashRequest, response: Response) => Promise<void> | voidoptional
HEAD: (request: DrashRequest, response: Response) => Promise<void> | voidoptional
OPTIONS: (request: DrashRequest, response: Response) => Promise<void> | voidoptional
PATCH: (request: DrashRequest, response: Response) => Promise<void> | voidoptional
POST: (request: DrashRequest, response: Response) => Promise<void> | voidoptional
PUT: (request: DrashRequest, response: Response) => Promise<void> | voidoptional
TRACE: (request: DrashRequest, response: Response) => Promise<void> | void