OhttpTestServerProtocol
public protocol OhttpTestServerProtocol : AnyObject
A testing interface for decrypting and responding to OHTTP messages. This should only be used for testing.
-
Return the unique encryption key config for this instance of test server.
Declaration
Swift
func getConfig() -> [UInt8]
-
Declaration
Swift
func receive(message: [UInt8]) throws -> TestServerRequest
-
Declaration
Swift
func respond(response: OhttpResponse) throws -> [UInt8]