THTTPRouter.StringToRouteMethod function
Converts string to route method enumeration
Declaration
class function StringToRouteMethod(const S: string): TRouteMethodArguments
S | String representation of HTTP method |
Function result
Route method enumeration value
Description
StringToRouteMethod parses a string representation of an HTTP method and returns the corresponding
TRouteMethod enumeration value.
It supports standard HTTP method names like "GET", "POST", etc.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
