// path val pingSegment: String = "ping" val pingMatcher: PathMatcher[Unit] = ImplicitPathMatcherConstruction.segmentStringToPathMatcher(pingSegment) val pingDirective: Directive[Unit] = path(pingMatcher) // response val pongStr: String = "pong" val pongMarshal: ToResponseMarshallable = ToResponseMarshallable.apply(pongStr)(PredefinedToEntityMarshallers.StringMarshaller) val pongStandardRoute: Sta