Thanks for the response.
So I get how to do a basic custom directive. Where I'm having difficulty is if I try to reference another directive within my custom directive.
Error:(74, 22) type mismatch;
found : akka.http.scaladsl.server.Directive1[java.net.InetAddress]
(which expands to) akka.http.scaladsl.server.Directive[(java.net.InetAddress,)]
required: akka.http.scaladsl.server.StandardRoute
provide(address)
^
To me it appears that the reject properly resolves as a Directive. But I'm not ready to complete the route here - this requires an inner route to do something with the provided address.
I think perhaps I'm missing something in regards to how Directives compose. I've been reviewing all the existing routes, and it looks like this should work - but its not.
-t