package
2.4.1+incompatible
Repository: https://github.com/hashicorp/vagrant.git
Documentation: pkg.go.dev

# Functions

Current returns the current protocol version information.
EncodeHeader creates a valid header value for the protocol version headers.
FromContext retrieves the protocol version from the context, or returns zero if no version was present.
Negotiate takes two protocol versions and determines the value to use.
ParseHeader parses header values containing minimum and current protocol version numbers.
StreamClientInterceptor returns an interceptor for the client to set the proper headers for stream APIs.
UnaryClientInterceptor returns an interceptor for the client to set the proper headers based on the attached VersionInfo.
WithContext stores the protocol version in the context.

# Constants

api.
entrypoint.
Header keys.
Header keys.
Header keys.
invalid.

# Variables

No description provided by the author
No description provided by the author

# Type aliases

Type is the enum of protocol version types.