HttpResponse.Headers
property · HttpResponse · cAlgo.API
DesktopCLICloud
Gets the headers contained in the response.
Definition
public HttpResponseHeaders Headers {get;}
httpResponse.Headers: HttpResponseHeaders
Returns HttpResponseHeaders
Examples
var response = Http.Get("https://api.example.com/quotes/EURUSD");
foreach (var header in response.Headers)
Print("{0}: {1}", header.Key, header.Value);
response = api.Http.Get("https://api.example.com/quotes/EURUSD")
for header in response.Headers:
api.Print(f"{header.Key}: {header.Value}")