vexana icon indicating copy to clipboard operation
vexana copied to clipboard

feature/custom-http-client-adapter

Open kanieren opened this issue 4 years ago • 4 comments

I'm not sure that is it a useful feature but I have little changes for issue #15 . I defined a variable in network manager class, so users can use their own custom http client adapter while initializing vexana on demand. And also I've added an example for this feature, thus I had to enable null safety support in example project. Lastly, I fixed some typos :)

kanieren avatar Aug 05 '21 20:08 kanieren

Hello thank u @kanieren PR. i added web support currently and I can use specific import for web and mobile. Could you check current repo and fix the conflict?

VB10 avatar Aug 30 '21 15:08 VB10

@kanieren maybe we look interceptor request and check cerfiicate detail

VB10 avatar Aug 30 '21 15:08 VB10

Hi @VB10, I resolved conflicts. The web client doesn't have onHttpClientCreate property and also doesn't need certificate bypass solution. So, I modified some parts again to work only on mobile.

kanieren avatar Aug 30 '21 20:08 kanieren

By the way, I could be wrong but as I researched, interceptors won't work for certificate checking. It is core property. To handle this, we have to set this solution while initializing http client.

kanieren avatar Aug 30 '21 20:08 kanieren

i dont remeber this pr could you send again with new version

VB10 avatar Feb 20 '23 22:02 VB10