Interface UserAgent.Agent

Enclosing interface:
UserAgent

@Immutable @Safe public static interface UserAgent.Agent
Specifies an agent that participates (client-side) in an RPC call in terms of its name and version.
  • Field Details

  • Method Details

    • name

      @Safe @Safe String name()
    • version

      @Safe @Safe String version()
    • comments

      List<@Safe String> comments()
      invalid input: '<'a href="https://datatracker.ietf.org/doc/html/rfc7231#section-5.5.3>rfc7231 section-5.5.3 comment metadata (as described by rfc7230 section-3.2.6) for additional diagnostic information. Note that this library provides a much stricter set of allowed characters within comments than the linked RFCs to reduce complexity.
    • check

      @Check default void check()
    • of

      static UserAgent.Agent of(@Safe @Safe String name, @Safe @Safe String version)
    • of

      static UserAgent.Agent of(@Safe @Safe String name, @Safe @Safe String version, @Safe @Safe Iterable<@Safe String> comments)