class FrameMapper
(source)
FrameMapper is responsible for (de)serializing frames exchanged via Chrome's DevTool Protocol.
FrameMapper(mapper: ObjectMapper = DEFAULT_MAPPER)
FrameMapper is responsible for (de)serializing frames exchanged via Chrome's DevTool Protocol. |
fun <T> deserialize(text: String, clazz: Class<T>): T
Deserialize text to clazz. |
|
fun <T : Event> deserializeEvent(responseFrame: ResponseFrame, clazz: Class<T>): Single<T>
Deserialize response frame event to clazz. |
|
fun <T> deserializeResponse(requestFrame: RequestFrame, responseFrame: ResponseFrame, clazz: Class<T>): Single<T>
Deserialize response frame as clazz |
|
fun serialize(requestFrame: RequestFrame): Single<String>
Serializes request frame using internal object mapper |