wechaty-puppet-service
Version:
Puppet Service for Wechaty
11 lines • 493 B
TypeScript
import type { Metadata } from './grpc-js.js';
/**
* Huan(202108): This is for compatible with old clients (version v0.26 or before)
* for non-tls authorization:
* use the HTTP2 header `:authority` as the token.
*
* This feature is planed to be removed after Dec 31, 2022
*/
declare function monkeyPatchMetadataFromHttp2Headers(MetadataClass: typeof Metadata): () => void;
export { monkeyPatchMetadataFromHttp2Headers, };
//# sourceMappingURL=mokey-patch-header-authorization.d.ts.map