Sign in Join
FPDoc Onlineexperiment

RouteMethodToString function

In unit HTTPRoute

Converts route method enumeration to string

Declaration

pascal
function RouteMethodToString(R: TRouteMethod): string

Arguments

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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.