TTMSMCPHTTPServerRequest.IsVersionAtLeast Method
Reports whether the request's protocol version is at least the one given.
API unit family: TMS.MCP.HTTPServer
Declaring type: TTMSMCPHTTPServerRequest
Syntax
function IsVersionAtLeast(const AMajor, AMinor: Integer): Boolean;
Remarks
Useful for deciding whether a client understands a feature introduced in a later version, such as keeping a connection open by default.
Parameters
| Name | Description |
|---|---|
AMajor |
Major version to compare against. |
AMinor |
Minor version to compare against. |
Returns
True when the request's major version is higher, or equal with a minor version that is at least as high.