var toRoot = '../';</script></head><body><divid="search"><spanid="doc-title"><spanid="doc-version"></span></span><spanclass="close-results"><spanclass="left"><</span> Back</span><divid="textfilter"><spanclass="input"><inputautocapitalize="none"placeholder="Search"id="index-input"type="text"accesskey="/"/><iclass="clear material-icons"></i><iid="search-icon"class="material-icons"></i></span></div></div><divid="search-results"><divid="search-progress"><divid="progress-fill"></div></div><divid="results-content"><divid="entity-results"></div><divid="member-results"></div></div></div><divid="content-scroll-container"style="-webkit-overflow-scrolling: touch;"><divid="content-container"style="-webkit-overflow-scrolling: touch;"><divid="subpackage-spacer"><divid="packages"><h1>Packages</h1><ul><liclass="indented0 "name="_root_.root"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="_root_"class="anchorToMember"></a><aid="root:_root_"class="anchorToMember"></a><spanclass="permalink"><ahref="../index.html"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">package</span></span><spanclass="symbol"><ahref="../index.html"title=""><spanclass="name">root</span></a></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd><ahref="../index.html"name="_root_"id="_root_"class="extype">root</a></dd></dl></div></li><liclass="indented1 "name="_root_.verrpc"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="verrpc"class="anchorToMember"></a><aid="verrpc:verrpc"class="anchorToMember"></a><spanclass="permalink"><ahref="../verrpc/index.html"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">package</span></span><spanclass="symbol"><ahref="index.html"title=""><spanclass="name">verrpc</span></a></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd><ahref="../index.html"name="_root_"id="_root_"class="extype">root</a></dd></dl></div></li><liclass="current-entities indented1"><spanclass="separator"></span><ahref="VerrpcProto$.html"title=""class="object"></a><ahref="VerrpcProto$.html"title="">VerrpcProto</a></li><liclass="current-entities indented1"><ahref="Version$.html"title=""class="object"></a><ahref="Version.html"title=""class="class"></a><ahref="Version.html"title="">Version</a></li><liclass="current-entities indented1"><ahref="VersionRequest$.html"title=""class="object"></a><ahref="VersionRequest.html"title=""class="class"></a><ahref="VersionRequest.html"title="">VersionRequest</a></li><liclass="current-entities indented1"><ahref="Versioner$.html"title=""class="object"></a><ahref="Versioner.html"title="Versioner is a service that can be used to get information about the version and build information of the running daemon."class="trait"></a><ahref="Versioner.html"title="Versioner is a service that can be used to get information about the version and build information of the running daemon.">Versioner</a></li><liclass="current-entities indented1"><ahref="VersionerClient$.html"title=""class="object"></a><ahref="VersionerClient.html"title=""class="trait"></a><ahref="VersionerClient.html"title="">VersionerClient</a></li><liclass="current-entities indented1"><spanclass="separator"></span><ahref="VersionerClientPowerApi.html"title=""class="trait"></a><ahref="VersionerClientPowerApi.html"title="">VersionerClientPowerApi</a></li><liclass="current-entities indented1"><spanclass="separator"></span><ahref=""title=""class="object"></a><ahref=""title="">VersionerHandler</a></li></ul></div></div><divid="content"><bodyclass="object value"><divid="definition"><divclass="big-circle object">o</div><pid="owner"><ahref="index.html"name="verrpc"id="verrpc"class="extype">verrpc</a></p><h1>VersionerHandler<spanclass="permalink"><a
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><divclass="fullcomment"><divclass="comment cmt"><p>Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><p>Use <code>org.apache.pekko.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>VersionerHandler.partial</code> when combining
</p></div></div></li><liclass="indented0 "name="verrpc.VersionerHandler#apply"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="apply(implementation:verrpc.Versioner,prefix:String)(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]"class="anchorToMember"></a><aid="apply(Versioner,String)(ClassicActorSystemProvider):(HttpRequest)=>Future[HttpResponse]"class="anchorToMember"></a><spanclass="permalink"><ahref="../verrpc/VersionerHandler$.html#apply(implementation:verrpc.Versioner,prefix:String)(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">apply</span><spanclass="params">(<spanname="implementation">implementation: <ahref="Versioner.html"name="verrpc.Versioner"id="verrpc.Versioner"class="extype">Versioner</a></span>, <spanname="prefix">prefix: <spanname="scala.Predef.String"class="extype">String</span></span>)</span><spanclass="params">(<spanclass="implicit">implicit </span><spanname="system">system: <ahref="https://pekko.apache.org/api/pekko/1.1.3/org/apache/pekko/actor/ClassicActorSystemProvider.html#org.apache.pekko.actor.ClassicActorSystemProvider"name="org.apache.pekko.actor.ClassicActorSystemProvider"id="org.apache.pekko.actor.ClassicActorSystemProvider"class="extype">ClassicActorSystemProvider</a></span>)</span><spanclass="result">: (<ahref="https://pekko.apache.org/api/pekko-http/1.1.0/org/apache/pekko/http/scaladsl/model/HttpRequest.html#org.apache.pekko.http.scaladsl.model.HttpRequest"name="org.apache.pekko.http.scaladsl.model.HttpRequest"id="org.apache.pekko.http.scaladsl.model.HttpRequest"class="extype">HttpRequest</a>) =><ahref="https://www.scala-lang.org/api/2.13.16/scala/concurrent/Future.html#scala.concurrent.Future"name="scala.concurrent.Future"id="scala.concurrent.Future"class="extype">Future</a>[<ahref="https://pekko.apache.org/api/pekko-http/1.1.0/org/apache/pekko/http/scaladsl/model/HttpResponse.html#org.apache.pekko.http.scaladsl.model.HttpResponse"name="org.apache.pekko.http.scaladsl.model.HttpResponse"id="org.apache.pekko.http.scaladsl.model.HttpResponse"class="extype">HttpResponse</a>]</span></span><pclass="shortcomment cmt">Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><divclass="fullcomment"><divclass="comment cmt"><p>Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><p>Use <code>org.apache.pekko.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>VersionerHandler.partial</code> when combining
</p></div></div></li><liclass="indented0 "name="verrpc.VersionerHandler#apply"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="apply(implementation:verrpc.Versioner,eHandler:org.apache.pekko.actor.ActorSystem=>PartialFunction[Throwable,org.apache.pekko.grpc.Trailers])(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]"class="anchorToMember"></a><aid="apply(Versioner,(ActorSystem)=>PartialFunction[Throwable,Trailers])(ClassicActorSystemProvider):(HttpRequest)=>Future[HttpResponse]"class="anchorToMember"></a><spanclass="permalink"><ahref="../verrpc/VersionerHandler$.html#apply(implementation:verrpc.Versioner,eHandler:org.apache.pekko.actor.ActorSystem=>PartialFunction[Throwable,org.apache.pekko.grpc.Trailers])(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">apply</span><spanclass="params">(<spanname="implementation">implementation: <ahref="Versioner.html"name="verrpc.Versioner"id="verrpc.Versioner"class="extype">Versioner</a></span>, <spanname="eHandler">eHandler: (<ahref="https://pekko.apache.org/api/pekko/1.1.3/org/apache/pekko/actor/ActorSystem.html#org.apache.pekko.actor.ActorSystem"name="org.apache.pekko.actor.ActorSystem"id="org.apache.pekko.actor.ActorSystem"class="extype">ActorSystem</a>) =><ahref="https://www.scala-lang.org/api/2.13.16/scala/PartialFunction.html#scala.PartialFunction"name="scala.PartialFunction"id="scala.PartialFunction"class="extype">PartialFunction</a>[<ahref="../scala/index.html#Throwable=Throwable"name="scala.Throwable"id="scala.Throwable"class="extmbr">Throwable</a>, <ahref="https://pekko.apache.org/api/pekko-grpc/1.1.1/org/apache/pekko/grpc/org/apache/pekko/grpc/Trailers.html#org.apache.pekko.grpc.Trailers"name="org.apache.pekko.grpc.Trailers"id="org.apache.pekko.grpc.Trailers"class="extype">Trailers</a>]</span>)</span><spanclass="params">(<spanclass="implicit">implicit </span><spanname="system">system: <ahref="https://pekko.apache.org/api/pekko/1.1.3/org/apache/pekko/actor/ClassicActorSystemProvider.html#org.apache.pekko.actor.ClassicActorSystemProvider"name="org.apache.pekko.actor.ClassicActorSystemProvider"id="org.apache.pekko.actor.ClassicActorSystemProvider"class="extype">ClassicActorSystemProvider</a></span>)</span><spanclass="result">: (<ahref="https://pekko.apache.org/api/pekko-http/1.1.0/org/apache/pekko/http/scaladsl/model/HttpRequest.html#org.apache.pekko.http.scaladsl.model.HttpRequest"name="org.apache.pekko.http.scaladsl.model.HttpRequest"id="org.apache.pekko.http.scaladsl.model.HttpRequest"class="extype">HttpRequest</a>) =><ahref="https://www.scala-lang.org/api/2.13.16/scala/concurrent/Future.html#scala.concurrent.Future"name="scala.concurrent.Future"id="scala.concurrent.Future"class="extype">Future</a>[<ahref="https://pekko.apache.org/api/pekko-http/1.1.0/org/apache/pekko/http/scaladsl/model/HttpResponse.html#org.apache.pekko.http.scaladsl.model.HttpResponse"name="org.apache.pekko.http.scaladsl.model.HttpResponse"id="org.apache.pekko.http.scaladsl.model.HttpResponse"class="extype">HttpResponse</a>]</span></span><pclass="shortcomment cmt">Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><divclass="fullcomment"><divclass="comment cmt"><p>Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><p>Use <code>org.apache.pekko.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>VersionerHandler.partial</code> when combining
</p></div></div></li><liclass="indented0 "name="verrpc.VersionerHandler#apply"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="apply(implementation:verrpc.Versioner)(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]"class="anchorToMember"></a><aid="apply(Versioner)(ClassicActorSystemProvider):(HttpRequest)=>Future[HttpResponse]"class="anchorToMember"></a><spanclass="permalink"><ahref="../verrpc/VersionerHandler$.html#apply(implementation:verrpc.Versioner)(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">apply</span><spanclass="params">(<spanname="implementation">implementation: <ahref="Versioner.html"name="verrpc.Versioner"id="verrpc.Versioner"class="extype">Versioner</a></span>)</span><spanclass="params">(<spanclass="implicit">implicit </span><spanname="system">system: <ahref="https://pekko.apache.org/api/pekko/1.1.3/org/apache/pekko/actor/ClassicActorSystemProvider.html#org.apache.pekko.actor.ClassicActorSystemProvider"name="org.apache.pekko.actor.ClassicActorSystemProvider"id="org.apache.pekko.actor.ClassicActorSystemProvider"class="extype">ClassicActorSystemProvider</a></span>)</span><spanclass="result">: (<ahref="https://pekko.apache.org/api/pekko-http/1.1.0/org/apache/pekko/http/scaladsl/model/HttpRequest.html#org.apache.pekko.http.scaladsl.model.HttpRequest"name="org.apache.pekko.http.scaladsl.model.HttpRequest"id="org.apache.pekko.http.scaladsl.model.HttpRequest"class="extype">HttpRequest</a>) =><ahref="https://www.scala-lang.org/api/2.13.16/scala/concurrent/Future.html#scala.concurrent.Future"name="scala.concurrent.Future"id="scala.concurrent.Future"class="extype">Future</a>[<ahref="https://pekko.apache.org/api/pekko-http/1.1.0/org/apache/pekko/http/scaladsl/model/HttpResponse.html#org.apache.pekko.http.scaladsl.model.HttpResponse"name="org.apache.pekko.http.scaladsl.model.HttpResponse"id="org.apache.pekko.http.scaladsl.model.HttpResponse"class="extype">HttpResponse</a>]</span></span><pclass="shortcomment cmt">Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><divclass="fullcomment"><divclass="comment cmt"><p>Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><p>Use <code>org.apache.pekko.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>VersionerHandler.partial</code> when combining
<code>Http().bindAndHandleAsync</code>.</p><divclass="fullcomment"><divclass="comment cmt"><p>Creates a partial <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be combined with handlers of other
<code>Http().bindAndHandleAsync</code>.</p><p>Use <code>VersionerHandler.apply</code> if the server is only handling one service.</p><p>Registering a gRPC service under a custom prefix is not widely supported and strongly discouraged by the specification.
for the generated partial function handler.</p><divclass="fullcomment"><divclass="comment cmt"><p>Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler. The generated handler falls back to a reflection handler for
<code>Versioner</code> and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><p>Use <code>org.apache.pekko.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>VersionerHandler.partial</code> when combining
</p></div></div></li></ol></div></div><divid="inheritedMembers"><divname="scala.AnyRef"class="parent"><h3>Inherited from <ahref="../scala/index.html#AnyRef=Object"name="scala.AnyRef"id="scala.AnyRef"class="extmbr">AnyRef</a></h3></div><divname="scala.Any"class="parent"><h3>Inherited from <ahref="https://www.scala-lang.org/api/2.13.16/scala/Any.html#scala.Any"name="scala.Any"id="scala.Any"class="extype">Any</a></h3></div></div><divid="groupedMembers"><divname="Ungrouped"class="group"><h3>Ungrouped</h3></div></div></div><divid="tooltip"></div><divid="footer"></div></body></div></div></div></body></html>