Package com.openai.services.async
        Class WebhookServiceAsyncImpl
- 
                    
                    - All Implemented Interfaces:
- 
                            
                            com.openai.services.async.WebhookServiceAsync
 
 public final class WebhookServiceAsyncImpl implements WebhookServiceAsync 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classWebhookServiceAsyncImpl.WithRawResponseImpl
 - 
                                
                            
                                Method SummaryModifier and Type Method Description WebhookServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. WebhookServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. UnwrapWebhookEventunwrap(WebhookVerificationParams params)Validates that the given payload was sent by OpenAI and parses the payload. UnitverifySignature(WebhookVerificationParams params)Validates whether or not the webhook payload was sent by OpenAI. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        withRawResponseWebhookServiceAsync.WithRawResponse withRawResponse() Returns a view of this service that provides access to raw HTTP responses for each method. 
 - 
                                        withOptionsWebhookServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier) Returns a view of this service with the given option modifications applied. The original service is not modified. 
 - 
                                        unwrapUnwrapWebhookEvent unwrap(WebhookVerificationParams params) Validates that the given payload was sent by OpenAI and parses the payload. - Parameters:
- params- Verification parameters including payload, headers, secret and tolerance
 
 - 
                                        verifySignatureUnit verifySignature(WebhookVerificationParams params) Validates whether or not the webhook payload was sent by OpenAI. - Parameters:
- params- Verification parameters including payload, headers, secret and tolerance
 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-