How to get NEST to work with Proxy, like Fiddler -


i'm trying pass elasticsearch calls nest through fiddler can see actual json requests , responses.

i've done following create client, requests not being pushed through proxy (it doesn't matter if fiddler on or off, request still gets elasticsearch).

connectionsettings cs = new connectionsettings(uri); cs.setproxy(new uri("http://localhost:8888"),"username", "password"); elasticclient = new elasticclient(cs); 

fiddler has no username/password requirements pass random text.

i can confirm @ point before executing request elasticclient has proxy property filled in uri specified above, though trailing slash added nest.

thanks

okay, so, gave on nest proxy settings - didn't seem make difference.

however, setting host on nest client "http://ipv4.fiddler:9200" instead of localhost routes call through fiddler , achieved desired result of allowing me see both requests , responses elasticsearch.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -