Skip to content

Commit e40ae11

Browse files
authored
reflection: export server types (#1043)
Makes it easier to store a reflection server in a variable or get the gRPC service's name.
1 parent 9ea03c2 commit e40ae11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tonic-reflection/src/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use crate::proto::server_reflection_request::MessageRequest;
22
use crate::proto::server_reflection_response::MessageResponse;
3-
use crate::proto::server_reflection_server::{ServerReflection, ServerReflectionServer};
3+
pub use crate::proto::server_reflection_server::{ServerReflection, ServerReflectionServer};
44
use crate::proto::{
55
FileDescriptorResponse, ListServiceResponse, ServerReflectionRequest, ServerReflectionResponse,
66
ServiceResponse,

0 commit comments

Comments
 (0)