메인 콘텐츠로 건너뛰기
Translation of pages other than English and Japanese versions is maintained by community contributions. The project does not guarantee the accuracy of the content and may not reflect the latest content.

MagicOnionOptions

최종 업데이트

MagicOnionOptionsMagicOnionEngine.BuildServerServiceDefinition(MagicOnionOptions option)에 전달할 수 있습니다.

속성설명
IList<MagicOnionFilterDescriptor> GlobalFilters전역 MagicOnion 필터
bool EnableCurrentContextAsyncLocal을 통한 ServiceContext.Current 옵션 활성화, 기본값은 false
IList<StreamingHubFilterDescriptor> GlobalStreamingHubFilters전역 StreamingHub 필터
IGroupRepositoryFactory DefaultGroupRepositoryFactoryStreamingHub를 위한 기본 GroupRepository 팩토리, 기본값은 ``
bool IsReturnExceptionStackTraceInErrorDetailtrue인 경우, MagicOnion이 예외를 자체적으로 처리하여 메시지로 전송. false인 경우, gRPC 엔진으로 전파. 기본값은 false
MessagePackSerializerOptions SerializerOptionsMessagePack 직렬화 리졸버. 기본값은 ambient default(MessagePackSerializer.DefaultOptions) 사용