MCPcopy
hub / github.com/fastify/fastify / addHttpMethod

Method addHttpMethod

types/instance.d.ts:564–564  ·  view source on GitHub ↗

* Add a non-standard HTTP method * * Methods defined by default include `GET`, `HEAD`, `TRACE`, `DELETE`, * `OPTIONS`, `PATCH`, `PUT` and `POST`

(method: string, methodOptions?: { hasBody: boolean })

Source from the content-addressed store, hash-verified

562 * `OPTIONS`, `PATCH`, `PUT` and `POST`
563 */
564 addHttpMethod(method: string, methodOptions?: { hasBody: boolean }): FastifyInstance<RawServer, RawRequest, RawReply, Logger, TypeProvider>;
565 /**
566 * Fastify default JSON parser
567 */

Callers 13

instance.tst.tsFile · 0.80
move.test.jsFile · 0.80
lock.test.jsFile · 0.80
trace.test.jsFile · 0.80
search.test.jsFile · 0.80
mkcalendar.test.jsFile · 0.80
copy.test.jsFile · 0.80
mkcol.test.jsFile · 0.80
unlock.test.jsFile · 0.80
propfind.test.jsFile · 0.80
proppatch.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected