You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
552 B
12 lines
552 B
/// <reference types="node" />
|
|
import type { IncomingMessage } from 'http';
|
|
import type { BaseNextRequest } from '../base-http';
|
|
import type { NextRequest } from '../web/exports';
|
|
export declare function getServerActionRequestMetadata(req: IncomingMessage | BaseNextRequest | NextRequest): {
|
|
actionId: string | null;
|
|
isURLEncodedAction: boolean;
|
|
isMultipartAction: boolean;
|
|
isFetchAction: boolean;
|
|
isServerAction: boolean;
|
|
};
|
|
export declare function getIsServerAction(req: IncomingMessage | BaseNextRequest | NextRequest): boolean;
|
|
|