Documentation
Table of Contents

Property RequestHost

Namespace
IntentSharp.Testing
Assembly
IntentSharp.dll

RequestHost

The host this provider reports as RequestHost, which the Request checkpoint carries as request.host, so a test can pin one and check a rule on hosts. Write it as the checkpoint compares it: lower case and ASCII, with no port, such as api.example.com. Null, the default, reports no host, so an enforced rule on request.host refuses the call. Nothing is sent anywhere: the provider answers in process.

public string? RequestHost { get; init; }

Property Value

string