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_.lnrpc"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="lnrpc"class="anchorToMember"></a><aid="lnrpc:lnrpc"class="anchorToMember"></a><spanclass="permalink"><ahref="../lnrpc/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">lnrpc</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"><ahref="AMP$.html"title=""class="object"></a><ahref="AMP.html"title="Details specific to AMP HTLCs."class="class"></a><ahref="AMP.html"title="Details specific to AMP HTLCs.">AMP</a></li><liclass="current-entities indented1"><ahref="AMPInvoiceState$.html"title=""class="object"></a><ahref="AMPInvoiceState.html"title=""class="class"></a><ahref="AMPInvoiceState.html"title="">AMPInvoiceState</a></li><liclass="current-entities indented1"><ahref="AMPRecord$.html"title=""class="object"></a><ahref="AMPRecord.html"title=""class="class"></a><ahref="AMPRecord.html"title="">AMPRecord</a></li><liclass="current-entities indented1"><ahref="AbandonChannelRequest$.html"title=""class="object"></a><ahref="AbandonChannelRequest.html"title=""class="class"></a><ahref="AbandonChannelRequest.html"title="">AbandonChannelRequest</a></li><liclass="current-entities indented1"><ahref="AbandonChannelResponse$.html"title=""class="object"></a><ahref="AbandonChannelResponse.html"title=""class="class"></a><ahref="AbandonChannelResponse.html"title="">AbandonChannelResponse</a></li><liclass="current-entities indented1"><ahref="AddInvoiceResponse$.html"title=""class="object"></a><ahref="AddInvoiceResponse.html"title=""class="class"></a><ahref="AddInvoiceResponse.html"title="">AddInvoiceResponse</a></li><liclass="current-entities indented1"><ahref="AddressType$.html"title=""class="object"></a><ahref="AddressType.html"title="AddressType has to be one of:"class="class"></a><ahref="AddressType.html"title="AddressType has to be one of:">AddressType</a></li><liclass="current-entities indented1"><ahref="AliasMap$.html"title=""class="object"></a><ahref="AliasMap.html"title=""class="class"></a><ahref="AliasMap.html"title="">AliasMap</a></li><liclass="current-entities indented1"><ahref=
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>StateHandler.partial</code> when combining
</p></div></div></li><liclass="indented0 "name="lnrpc.StateHandler#apply"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="apply(implementation:lnrpc.State,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(State,String)(ClassicActorSystemProvider):(HttpRequest)=>Future[HttpResponse]"class="anchorToMember"></a><spanclass="permalink"><ahref="../lnrpc/StateHandler$.html#apply(implementation:lnrpc.State,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="State.html"name="lnrpc.State"id="lnrpc.State"class="extype">State</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.0-M1/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-M1/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.14/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-M1/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>StateHandler.partial</code> when combining
</p></div></div></li><liclass="indented0 "name="lnrpc.StateHandler#apply"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="apply(implementation:lnrpc.State,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(State,(ActorSystem)=>PartialFunction[Throwable,Trailers])(ClassicActorSystemProvider):(HttpRequest)=>Future[HttpResponse]"class="anchorToMember"></a><spanclass="permalink"><ahref="../lnrpc/StateHandler$.html#apply(implementation:lnrpc.State,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="State.html"name="lnrpc.State"id="lnrpc.State"class="extype">State</a></span>, <spanname="eHandler">eHandler: (<ahref="https://pekko.apache.org/api/pekko/1.1.0-M1/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.14/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.0-M1/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.0-M1/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-M1/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.14/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-M1/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>StateHandler.partial</code> when combining
</p></div></div></li><liclass="indented0 "name="lnrpc.StateHandler#apply"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="apply(implementation:lnrpc.State)(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(State)(ClassicActorSystemProvider):(HttpRequest)=>Future[HttpResponse]"class="anchorToMember"></a><spanclass="permalink"><ahref="../lnrpc/StateHandler$.html#apply(implementation:lnrpc.State)(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="State.html"name="lnrpc.State"id="lnrpc.State"class="extype">State</a></span>)</span><spanclass="params">(<spanclass="implicit">implicit </span><spanname="system">system: <ahref="https://pekko.apache.org/api/pekko/1.1.0-M1/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-M1/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.14/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-M1/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>StateHandler.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>StateHandler.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>State</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>StateHandler.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.14/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>