I have a Razor Page and want to read headers from requests, but I can't to find how to do it. How can I do it?
@page "/"
@inject NavigationManager navigationManager;
<div class="section">
</div>
@code {
private string header;
protected override async Task OnInitializedAsync()
{
// how to do it here
}
}