toKtorHttpMethod

fun HttpMethod.toKtorHttpMethod(): HttpMethod

Converts the wire-format HttpMethod into Ktor's own HttpMethod — every networking event (SendNetworkRequest, UploadFile, the download events, GetScreen/RefreshScreen) resolves its method through this before issuing the real request.