Skip to content

Commit

Permalink
Clarify documentation on how the root handler works
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaliumhexacyanoferrat committed Jan 17, 2024
1 parent 015e7ec commit 485b65c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions API/Infrastructure/IServerBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ public interface IServerBuilder<T> : IBuilder<IServer>
/// a client request needs to be handled.
/// </summary>
/// <param name="handler">The handler to be invoked to handle requests</param>
/// <remarks>
/// Note that only a single handler is supported. To build are more
/// complex application, consider passing a Layout instead.
/// </remarks>
T Handler(IHandlerBuilder handler);

#endregion
Expand Down

0 comments on commit 485b65c

Please sign in to comment.