mirror of https://github.com/grpc/grpc-node.git
Export MetadataValue as part of the public API #1383
Matches native gRPC library
This commit is contained in:
parent
4946b418b4
commit
f238bef70d
|
@ -45,7 +45,7 @@ import {
|
||||||
Serialize,
|
Serialize,
|
||||||
ServiceDefinition,
|
ServiceDefinition,
|
||||||
} from './make-client';
|
} from './make-client';
|
||||||
import { Metadata } from './metadata';
|
import { Metadata, MetadataValue } from './metadata';
|
||||||
import {
|
import {
|
||||||
Server,
|
Server,
|
||||||
UntypedHandleCall,
|
UntypedHandleCall,
|
||||||
|
@ -188,7 +188,7 @@ export const credentials = mixin(
|
||||||
|
|
||||||
/**** Metadata ****/
|
/**** Metadata ****/
|
||||||
|
|
||||||
export { Metadata };
|
export { Metadata, MetadataValue };
|
||||||
|
|
||||||
/**** Constants ****/
|
/**** Constants ****/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue