File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Sources/SwiftGRPC/Runtime Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,19 +18,19 @@ import Dispatch
1818import Foundation
1919import SwiftProtobuf
2020
21- public protocol ServiceClient {
21+ public protocol ServiceClient : class {
2222 var channel : Channel { get }
2323
2424 /// This metadata will be sent with all requests.
25- var metadata : Metadata { get }
25+ var metadata : Metadata { get set }
2626
2727 /// This property allows the service host name to be overridden.
2828 /// For example, it can be used to make calls to "localhost:8080"
2929 /// appear to be to "example.com".
30- var host : String { get }
30+ var host : String { get set }
3131
3232 /// This property allows the service timeout to be overridden.
33- var timeout : TimeInterval { get }
33+ var timeout : TimeInterval { get set }
3434}
3535
3636open class ServiceClientBase : ServiceClient {
You can’t perform that action at this time.
0 commit comments