Module rpu.http.specific
Classes
class Route (*, method: Literal['POST', 'GET', 'DELETE', 'PUT'], endpoint: str)
-
Creates a route instance
Parameters
method
:typing.Literal["POST", "GET"]
- The method for the request
endpoint
:str
- the endpoint for the request
Attributes
method
:typing.Literal["POST", "GET"]
- The method for the request
endpoint
:str
- the endpoint for the request
Instance variables
var endpoint
-
Return an attribute of instance, which is of type owner.
var method
-
Return an attribute of instance, which is of type owner.