Subscribe to HTTP requests and override the User-Agent header if the request is being dispatched from inside a simpletest.
Expanded class hierarchy of SimpletestHttpRequestSubscriber
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SimpletestHttpRequestSubscriber:: |
public static | function |
Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface:: |
|
SimpletestHttpRequestSubscriber:: |
public | function | Event callback for request.before_send |