Skip to content

JSONRPCRequestEncoder

bigearsenal edited this page May 17, 2022 · 1 revision

JSONRPCRequestEncoder

JSONRPCRequestEncoder encodes requests of type RequestAPI according to JSONRPC rules

public class JSONRPCRequestEncoder: APIClientRequestEncoder 

Inheritance

APIClientRequestEncoder

Nested Type Aliases

RequestType

public typealias RequestType = JSONRPCAPIClientRequest<AnyDecodable>

Initializers

init(request:)

required public init(request: RequestType) 

init(requests:)

required public init(requests: [RequestType]) 

Methods

encoded()

public func encoded() throws -> Data 
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Operators
Extensions
Clone this wiki locally