getResponseHeader method

  1. @DomName('XMLHttpRequest.getResponseHeader')
  2. @DocsEditable()
  3. @Unstable()
String getResponseHeader(String name)

Return the response header named header, or null if not found.

See also HTTP response headers for a list of common response headers.

Source

@DomName('XMLHttpRequest.getResponseHeader')
@DocsEditable()
@Unstable()
String getResponseHeader(String name) => _blink.BlinkXMLHttpRequest.instance
    .getResponseHeader_Callback_1_(this, name);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/HttpRequest/getResponseHeader.html