class_docstr: The request object used by default in Flask.  Remembers the
  matched endpoint and view arguments.
  
  It is what ends up as :class:`~flask.request`.  If you want to replace
  the request object used you can subclass this and set
  :attr:`~flask.Flask.request_class` to your subclass.
  
  The request object is a :class:`~werkzeug.wrappers.Request` subclass and
  provides all of the attributes Werkzeug defines plus a few Flask
  specific ones.
class_docstr_tok: ["The","request","object","used","by","default","in","Flask",".","Remembers","the","matched","endpoint","and","view","arguments",".","It","is","what","ends","up","as",":","class",":","`","~flask.request","`",".","If","you","want","to","replace","the","request","object","used","you","can","subclass","this","and","set",":","attr",":","`","~flask.Flask.request_class","`","to","your","subclass",".","The","request","object","is","a",":","class",":","`","~werkzeug.wrappers.Request","`","subclass","and","provides","all","of","the","attributes","Werkzeug","defines","plus","a","few","Flask","specific","ones","."]
docstr: The endpoint that matched the request URL.
  
  This will be ``None`` if matching failed or has not been
  performed yet.
  
  This in combination with :attr:`view_args` can be used to
  reconstruct the same URL or a modified URL.
docstr_tok: ["The","endpoint","that","matched","the","request","URL",".","This","will","be","``","None","``","if","matching","failed","or","has","not","been","performed","yet",".","This","in","combination","with",":","attr",":","`","view_args","`","can","be","used","to","reconstruct","the","same","URL","or","a","modified","URL","."]
code: def endpoint(self) -> str | None:
      """The endpoint that matched the request URL.
  
      This will be ``None`` if matching failed or has not been
      performed yet.
  
      This in combination with :attr:`view_args` can be used to
      reconstruct the same URL or a modified URL.
      """
      if self.url_rule is not None:
          return self.url_rule.endpoint
  
      return None
  
file_path: flask/src/flask/wrappers.py
imports: from __future__ import annotations
  import typing
  from werkzeug.exceptions import BadRequest
  from werkzeug.wrappers import Request
  from werkzeug.wrappers import Response
  from .None import json
  from .globals import current_app
  from .helpers import _split_blueprint_path
label_desc: Use image node_id 2 for calling the Request obj's underlying member method code with example usage: obj.endpoint() and returns: None, self