@axonlabs/core - v0.13.1
    Preparing search index...

    Interface Request<P>

    Incoming request, including some information about the client.

    interface Request<P> {
        body?: any;
        method: string;
        params?: P;
        path: string;
        query?: { [key: string]: undefined | string };
    }

    Type Parameters

    • P

    Hierarchy

    • IncomingMessage
      • Request
    Index

    Properties

    body?: any
    method: string

    Only valid for request obtained from Server.

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

    v0.1.1

    params?: P
    path: string
    query?: { [key: string]: undefined | string }