Library Documentation
NPM
GitHub
Preparing search index...
The search index is not available
Amplify JS API Documentation
Amplify JS API Documentation
@aws-amplify/adapter-nextjs
index
NextServer
NextRequestAndNextResponseContext
Interface NextRequestAndNextResponseContext
This context is normally available in the following:
Next App Router
middleware
Next App Router
route handler
when using
NextResponse
to create the response of the route handler
interface
NextRequestAndNextResponseContext
{
request
:
NextRequest
;
response
:
NextResponse
<
unknown
>
;
}
Index
Properties
request
response
Properties
request
request
:
NextRequest
response
response
:
NextResponse
<
unknown
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
request
response
Amplify JS API Documentation
aws-amplify
@aws-amplify
geo
interactions
predictions
pubsub
adapter-nextjs
datastore-storage-adapter
This context is normally available in the following:
NextResponse
to create the response of the route handler