@@ -108,6 +108,17 @@ export namespace msg {
108108 } ;
109109 }
110110
111+ const capabilities = {
112+ RawHttpBodyBytes : 'true' ,
113+ RpcHttpBodyOnly : 'true' ,
114+ RpcHttpTriggerMetadataRemoved : 'true' ,
115+ IgnoreEmptyValuedRpcHttpHeaders : 'true' ,
116+ UseNullableValueDictionaryForHttp : 'true' ,
117+ WorkerStatus : 'true' ,
118+ TypedDataCollection : 'true' ,
119+ HandlesWorkerTerminateMessage : 'true' ,
120+ } ;
121+
111122 export namespace init {
112123 export const receivedRequestLog = msg . receivedRequestLog ( 'WorkerInitRequest' ) ;
113124
@@ -133,16 +144,7 @@ export namespace msg {
133144 {
134145 requestId : 'testReqId' ,
135146 workerInitResponse : {
136- capabilities : {
137- RawHttpBodyBytes : 'true' ,
138- RpcHttpBodyOnly : 'true' ,
139- RpcHttpTriggerMetadataRemoved : 'true' ,
140- IgnoreEmptyValuedRpcHttpHeaders : 'true' ,
141- UseNullableValueDictionaryForHttp : 'true' ,
142- WorkerStatus : 'true' ,
143- TypedDataCollection : 'true' ,
144- HandlesWorkerTerminateMessage : 'true' ,
145- } ,
147+ capabilities,
146148 result : {
147149 status : rpc . StatusResult . Status . Success ,
148150 } ,
@@ -198,6 +200,9 @@ export namespace msg {
198200 result : {
199201 status : rpc . StatusResult . Status . Success ,
200202 } ,
203+ capabilities,
204+ capabilitiesUpdateStrategy :
205+ rpc . FunctionEnvironmentReloadResponse . CapabilitiesUpdateStrategy . replace ,
201206 workerMetadata : {
202207 runtimeName : 'node' ,
203208 customProperties : {
0 commit comments