コード例 #1
0
    public virtual async Task <WebRet> RequestWithJwsObjectAsync(WebMethods method, PrivKey privKey, string?kid, string nonce, string url, object?payload, CancellationToken cancel = default, string postContentType = Consts.MimeTypes.Json)
    {
        JwsPacket reqPacket = JwsUtil.Encapsulate(privKey, kid, nonce, url, payload);

        return(await this.RequestWithJsonObjectAsync(method, url, reqPacket, cancel, postContentType));
    }