RequestAuthorizationRule

class RequestAuthorizationRule(val urlMatcher: Regex, val headers: Map<String, String>)

Authorization rule for the http request.

Parameters

urlMatcher

Regular expression for matching the URL.

headers

Headers to be added to the request.

Constructors

Link copied to clipboard
constructor(urlMatcher: Regex, headers: Map<String, String>)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int