-
-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #677 from Cysharp/feature/RawBytesResponse
Introduce ServiceContext.SetRawBytesResponse
- Loading branch information
Showing
12 changed files
with
401 additions
and
162 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.ComponentModel; | ||
|
||
namespace MagicOnion.Internal | ||
{ | ||
// Pubternal API | ||
[EditorBrowsable(EditorBrowsableState.Never)] | ||
public sealed class RawBytesBox | ||
{ | ||
public ReadOnlyMemory<byte> Bytes { get; } | ||
|
||
public RawBytesBox(ReadOnlyMemory<byte> bytes) | ||
{ | ||
Bytes = bytes; | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...on.Client.Unity/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/Internal/RawBytesBox.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,17 @@ | ||
using System; | ||
using System.ComponentModel; | ||
|
||
namespace MagicOnion.Internal | ||
{ | ||
// Pubternal API | ||
[EditorBrowsable(EditorBrowsableState.Never)] | ||
public sealed class RawBytesBox | ||
{ | ||
public ReadOnlyMemory<byte> Bytes { get; } | ||
|
||
public RawBytesBox(ReadOnlyMemory<byte> bytes) | ||
{ | ||
Bytes = bytes; | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...ient.Unity/Assets/Scripts/MagicOnion/MagicOnion.Abstractions/Internal/RawBytesBox.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.