Skip to main content
IncomingMessage.prototype.method - http - Node documentation
property IncomingMessage.prototype.method

Usage in Deno

import { IncomingMessage } from "node:http";

Only valid for request obtained from Server.

The request method as a string. Read only. Examples: 'GET', 'DELETE'.

Type

string | undefined
Back to top