Instance Methodgrpc-swift 2.0.0GRPCCore
encode(to:)
MethodConfig.swift:474func encode(to encoder: any Encoder) throws
func encode(to encoder: any Encoder) throws
s8GRPCCore12MethodConfigV4NameV6encode2toys7Encoder_p_tKF
What are these?1CPUZ
import GRPCCore
A gRPC library for Swift written natively in Swift.
struct Name
The name of a method to which the method config applies.
struct MethodConfig
Configuration values for executing an RPC.
protocol Encoder
A type that can encode values into a native format for external representation.
init(from decoder: any Decoder) throws
init(service: String, method: String = "")
Create a new name.
var method: String
The name of the method.
var service: String { get set }
The name of the service, including the namespace.