HttpVersionIds.opIndex

Obtains the HTTP version enumerator value by identifier string. Does not throw an exception.

  1. istring opIndex(HttpVersion ver)
  2. HttpVersion opIndex(cstring id)
    struct HttpVersionIds
    static
    opIndex

Parameters

id cstring

HTTP version identifier string

Return Value

HTTP version enumerator value corresponding to identifier string or HttpVersion.Undefined if the name string is unknown.

Meta