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="Amount$.html"title=""class="object"></a><ahref="Amount.html"title=""class="class"></a><ahref="Amount.html"title="">Amount</a></li><liclass="current-entities indented1"><ahref="BakeMac
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>akka.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>LightningHandler.partial</code> when combining
several services.</p><p>Registering a gRPC service under a custom prefix is not widely supported and strongly discouraged by the specification.
</p></div></div></li><liclass="indented0 "name="lnrpc.LightningHandler#apply"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="apply(implementation:lnrpc.Lightning,prefix:String)(implicitsystem:akka.actor.ClassicActorSystemProvider):akka.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[akka.http.scaladsl.model.HttpResponse]"class="anchorToMember"></a><aid="apply(Lightning,String)(ClassicActorSystemProvider):(HttpRequest)=>Future[HttpResponse]"class="anchorToMember"></a><spanclass="permalink"><ahref="../lnrpc/LightningHandler$.html#apply(implementation:lnrpc.Lightning,prefix:String)(implicitsystem:akka.actor.ClassicActorSystemProvider):akka.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[akka.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="Lightning.html"name="lnrpc.Lightning"id="lnrpc.Lightning"class="extype">Lightning</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://doc.akka.io/api/akka/2.6.19/akka/actor/ClassicActorSystemProvider.html#akka.actor.ClassicActorSystemProvider"name="akka.actor.ClassicActorSystemProvider"id="akka.actor.ClassicActorSystemProvider"class="extype">ClassicActorSystemProvider</a></span>)</span><spanclass="result">: (<ahref="https://doc.akka.io/api/akka-http/10.2.9/akka/http/scaladsl/model/HttpRequest.html#akka.http.scaladsl.model.HttpRequest"name="akka.http.scaladsl.model.HttpRequest"id="akka.http.scaladsl.model.HttpRequest"class="extype">HttpRequest</a>) =><ahref="https://www.scala-lang.org/api/2.13.8/scala/concurrent/Future.html#scala.concurrent.Future"name="scala.concurrent.Future"id="scala.concurrent.Future"class="extype">Future</a>[<ahref="https://doc.akka.io/api/akka-http/10.2.9/akka/http/scaladsl/model/HttpResponse.html#akka.http.scaladsl.model.HttpResponse"name="akka.http.scaladsl.model.HttpResponse"id="akka.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>akka.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>LightningHandler.partial</code> when combining
several services.</p><p>Registering a gRPC service under a custom prefix is not widely supported and strongly discouraged by the specification.
</p></div></div></li><liclass="indented0 "name="lnrpc.LightningHandler#apply"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="apply(implementation:lnrpc.Lightning,eHandler:akka.actor.ActorSystem=>PartialFunction[Throwable,akka.grpc.Trailers])(implicitsystem:akka.actor.ClassicActorSystemProvider):akka.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[akka.http.scaladsl.model.HttpResponse]"class="anchorToMember"></a><aid="apply(Lightning,(ActorSystem)=>PartialFunction[Throwable,Trailers])(ClassicActorSystemProvider):(HttpRequest)=>Future[HttpResponse]"class="anchorToMember"></a><spanclass="permalink"><ahref="../lnrpc/LightningHandler$.html#apply(implementation:lnrpc.Lightning,eHandler:akka.actor.ActorSystem=>PartialFunction[Throwable,akka.grpc.Trailers])(implicitsystem:akka.actor.ClassicActorSystemProvider):akka.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[akka.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="Lightning.html"name="lnrpc.Lightning"id="lnrpc.Lightning"class="extype">Lightning</a></span>, <spanname="eHandler">eHandler: (<ahref="https://doc.akka.io/api/akka/2.6.19/akka/actor/ActorSystem.html#akka.actor.ActorSystem"name="akka.actor.ActorSystem"id="akka.actor.ActorSystem"class="extype">ActorSystem</a>) =><ahref="https://www.scala-lang.org/api/2.13.8/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://doc.akka.io/api/akka-grpc/2.1.4/akka/grpc/akka/grpc/Trailers.html#akka.grpc.Trailers"name="akka.grpc.Trailers"id="akka.grpc.Trailers"class="extype">Trailers</a>]</span>)</span><spanclass="params">(<spanclass="implicit">implicit </span><spanname="system">system: <ahref="https://doc.akka.io/api/akka/2.6.19/akka/actor/ClassicActorSystemProvider.html#akka.actor.ClassicActorSystemProvider"name="akka.actor.ClassicActorSystemProvider"id="akka.actor.ClassicActorSystemProvider"class="extype">ClassicActorSystemProvider</a></span>)</span><spanclass="result">: (<ahref="https://doc.akka.io/api/akka-http/10.2.9/akka/http/scaladsl/model/HttpRequest.html#akka.http.scaladsl.model.HttpRequest"name="akka.http.scaladsl.model.HttpRequest"id="akka.http.scaladsl.model.HttpRequest"class="extype">HttpRequest</a>) =><ahref="https://www.scala-lang.org/api/2.13.8/scala/concurrent/Future.html#scala.concurrent.Future"name="scala.concurrent.Future"id="scala.concurrent.Future"class="extype">Future</a>[<ahref="https://doc.akka.io/api/akka-http/10.2.9/akka/http/scaladsl/model/HttpResponse.html#akka.http.scaladsl.model.HttpResponse"name="akka.http.scaladsl.model.HttpResponse"id="akka.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>akka.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>LightningHandler.partial</code> when combining
</p></div></div></li><liclass="indented0 "name="lnrpc.LightningHandler#apply"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="apply(implementation:lnrpc.Lightning)(implicitsystem:akka.actor.ClassicActorSystemProvider):akka.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[akka.http.scaladsl.model.HttpResponse]"class="anchorToMember"></a><aid="apply(Lightning)(ClassicActorSystemProvider):(HttpRequest)=>Future[HttpResponse]"class="anchorToMember"></a><spanclass="permalink"><ahref="../lnrpc/LightningHandler$.html#apply(implementation:lnrpc.Lightning)(implicitsystem:akka.actor.ClassicActorSystemProvider):akka.http.scaladsl.model.HttpRequest=>scala.concurrent.Future[akka.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="Lightning.html"name="lnrpc.Lightning"id="lnrpc.Lightning"class="extype">Lightning</a></span>)</span><spanclass="params">(<spanclass="implicit">implicit </span><spanname="system">system: <ahref="https://doc.akka.io/api/akka/2.6.19/akka/actor/ClassicActorSystemProvider.html#akka.actor.ClassicActorSystemProvider"name="akka.actor.ClassicActorSystemProvider"id="akka.actor.ClassicActorSystemProvider"class="extype">ClassicActorSystemProvider</a></span>)</span><spanclass="result">: (<ahref="https://doc.akka.io/api/akka-http/10.2.9/akka/http/scaladsl/model/HttpRequest.html#akka.http.scaladsl.model.HttpRequest"name="akka.http.scaladsl.model.HttpRequest"id="akka.http.scaladsl.model.HttpRequest"class="extype">HttpRequest</a>) =><ahref="https://www.scala-lang.org/api/2.13.8/scala/concurrent/Future.html#scala.concurrent.Future"name="scala.concurrent.Future"id="scala.concurrent.Future"class="extype">Future</a>[<ahref="https://doc.akka.io/api/akka-http/10.2.9/akka/http/scaladsl/model/HttpResponse.html#akka.http.scaladsl.model.HttpResponse"name="akka.http.scaladsl.model.HttpResponse"id="akka.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>akka.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>LightningHandler.partial</code> when combining
services with <code>akka.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> and then used in for example
<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
services with <code>akka.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> and then used in for example
<code>Http().bindAndHandleAsync</code>.</p><p>Use <code>LightningHandler.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>Lightning</code> and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><p>Use <code>akka.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>LightningHandler.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.8/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>