headerValue abstract method

String? headerValue(
  1. String name
)

Returns the first value of the given name of request's headers.

  • Unlike HttpHeaders.value, this method won't throw any exception.
  • Rather, it simply picks the first header if any.

Implementation

String? headerValue(String name);