Skip to content

Commit

Permalink
Renamed back to RouterResponder
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed May 6, 2024
1 parent 7d2e84f commit 8046fd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Hummingbird/Router/Router.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public final class Router<Context: BaseRequestContext>: RouterMethods, HTTPRespo
}

/// build responder from router
public func buildResponder() -> BinaryRouterResponder<Context> {
public func buildResponder() -> RouterResponder<Context> {
if self.options.contains(.autoGenerateHeadEndpoints) {
self.trie.forEach { node in
node.value?.autoGenerateHeadEndpoint()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import NIOCore

public struct BinaryRouterResponder<Context: BaseRequestContext>: HTTPResponder {
public struct RouterResponder<Context: BaseRequestContext>: HTTPResponder {
let trie: BinaryTrie<EndpointResponders<Context>>
let notFoundResponder: any HTTPResponder<Context>
let options: RouterOptions
Expand Down

0 comments on commit 8046fd0

Please sign in to comment.