Moeen Chat Service - v1.0.0
    Preparing search index...
    • Extracts the URL information from a request object.

      Parameters

      • request: Request

        The request object.

      Returns {
          base: string;
          domain: string;
          full: string;
          host: string;
          method: string;
          path: string;
          protocol: string;
      }

      An object containing the URL information.

      extractReqUrl(request) // { method: 'GET', protocol: 'https', domain: 'example.com', host: 'example.com', path: '/', base: 'https://example.com', full: 'https://example.com/' }