-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return info about exposed endpoints from InstallMethod
- Loading branch information
1 parent
0b41a20
commit 245a370
Showing
6 changed files
with
43 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/GrpcTestKit/GrpcTestKit/TestConnectors/GrpcMockServerConnectionInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
namespace GrpcTestKit.TestConnectors; | ||
|
||
public class GrpcMockServerConnectionInfo | ||
{ | ||
public string GrpcEndpoint { get; } | ||
public string StubbingEndpoint { get; } | ||
|
||
public GrpcMockServerConnectionInfo(string grpcEndpoint, string stubbingEndpoint) | ||
{ | ||
GrpcEndpoint = grpcEndpoint; | ||
StubbingEndpoint = stubbingEndpoint; | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
src/GrpcTestKit/GrpcTestKit/TestConnectors/IGrpcMockServerConnector.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
namespace GrpcTestKit.TestConnectors; | ||
|
||
public interface IGrpcMockServerConnector: System.IAsyncDisposable | ||
public interface IGrpcMockServerConnector: IAsyncDisposable | ||
{ | ||
Task Install(); | ||
Task<GrpcMockServerConnectionInfo> Install(); | ||
IGrpcMockClient CreateClient(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters