Skip to content

RouteMethodToString

Converts route method enumeration to string

Declaration

Source position: httproute.pp line 291

function RouteMethodToString(R: TRouteMethod) : string;

Arguments

Name Description
R Route method enumeration to convert

Function result

String representation of the HTTP method

Description

RouteMethodToString converts a TRouteMethod enumeration value to its string representation. It returns standard HTTP method names like "GET", "POST", etc.