handleIncomingLink

open override fun <T> handleIncomingLink(url: String, serializer: KSerializer<T>): T?

Convert the query parameters of a url into T and return it. When the given url is invalid, it returns null.

Return

the T described by the url or null if the object was not described by the url

Parameters

T

the type of data to parse the url into

url

the whole url containing the query with values.

serializer

serializer of type T.