开发者

QNetworkAccessManager/QNetworkReply with custom QTcpSocket?

Is there any way to replace QSslSocket used by QNetworkAccessManager with my own implementation?

I was really looking forward to use WebKit!!

开发者_如何转开发I'm working on attaching PKCS11 implementation to our Qt based software.

So far the only way I found is to use QHttp - but doc says that this class should not be used..

I find QNetworkAccessManager very limiting so far. Yes its simple - but it is not the point of this framework.

???


You cannot right now replace the QSslSocket inside the HTTP implementation. The only thing you could do is override createRrequest of your QNAM and completely override the HTTP implementation.

What exactly needs to be done to use PKCS11? Would you need to modify some code in src/network/ssl/qsslsocket* and change the SSLContext? Or does the HTTP layer also need change?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜