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 Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voidcheck()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.@Safe Stringname()static UserAgent.Agentstatic UserAgent.Agent@Safe Stringversion()
-
Field Details
-
DEFAULT_VERSION
- See Also:
-
-
Method Details
-
name
-
version
-
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
-
of
static UserAgent.Agent of(@Safe @Safe String name, @Safe @Safe String version, @Safe @Safe Iterable<@Safe String> comments)
-