Skip to main content

Class: VrameworkActionNextResponse

The VrameworkActionNextResponse class is an extension of the VrameworkResponse class, specifically designed for handling action responses in a Next.js environment.

Extends

  • VrameworkResponse

Constructors

new VrameworkActionNextResponse()

new VrameworkActionNextResponse(): VrameworkActionNextResponse

Constructs a new instance of the VrameworkActionNextResponse class.

Returns

VrameworkActionNextResponse

Overrides

VrameworkResponse.constructor

Defined in

packages/servers/next/src/vramework-action-next-response.ts:13

Methods

clearCookie()

clearCookie(name): void

Clears a cookie from the response.

Parameters

name: string

The name of the cookie to clear.

Returns

void

Overrides

VrameworkResponse.clearCookie

Defined in

packages/servers/next/src/vramework-action-next-response.ts:62


setCookie()

setCookie(
name,
value,
options): void

Sets a cookie in the response.

Parameters

name: string

The name of the cookie.

value: string

The value of the cookie.

options: SerializeOptions

Options for setting the cookie.

Returns

void

Overrides

VrameworkResponse.setCookie

Defined in

packages/servers/next/src/vramework-action-next-response.ts:48


setJson()

setJson(): void

Sets the response body as JSON.

Returns

void

Remarks

This method is currently a placeholder and should be implemented as needed.

Overrides

VrameworkResponse.setJson

Defined in

packages/servers/next/src/vramework-action-next-response.ts:31


setResponse()

setResponse(): void

Sets the final response to be sent to the client.

Returns

void

Remarks

This method is currently a placeholder and should be implemented as needed.

Overrides

VrameworkResponse.setResponse

Defined in

packages/servers/next/src/vramework-action-next-response.ts:39


setStatus()

setStatus(): void

Sets the status of the response.

Returns

void

Remarks

This method is currently a placeholder and should be implemented as needed.

Overrides

VrameworkResponse.setStatus

Defined in

packages/servers/next/src/vramework-action-next-response.ts:23