| | 1 | |
|
| | 2 | | // AUTOGENERATED, DO NOT EDIT |
| | 3 | | // Type definitions for server implementations of ports. |
| | 4 | | // package: decentraland.bff |
| | 5 | | // file: decentraland/bff/http_endpoints.proto |
| | 6 | | using Cysharp.Threading.Tasks; |
| | 7 | | using rpc_csharp; |
| | 8 | | using Google.Protobuf.WellKnownTypes; |
| | 9 | |
|
| | 10 | | namespace Decentraland.Bff { |
| | 11 | | public interface IClientHttpEndpoints |
| | 12 | | { |
| | 13 | | UniTask<AboutResponse> About(Empty request); |
| | 14 | | } |
| | 15 | |
|
| | 16 | | public class ClientHttpEndpoints : IClientHttpEndpoints |
| | 17 | | { |
| | 18 | | private readonly RpcClientModule module; |
| | 19 | |
|
| 0 | 20 | | public ClientHttpEndpoints(RpcClientModule module) |
| | 21 | | { |
| 0 | 22 | | this.module = module; |
| 0 | 23 | | } |
| | 24 | |
|
| | 25 | |
|
| | 26 | | public UniTask<AboutResponse> About(Empty request) |
| | 27 | | { |
| 0 | 28 | | return module.CallUnaryProcedure<AboutResponse>("About", request); |
| | 29 | | } |
| | 30 | |
|
| | 31 | | } |
| | 32 | | } |