How to solve this error "('HttpClient Function(SecurityContext)') isn't a valid override of 'HttpOverrides.createHttpClient'"
2,797
Change SecurityContext to SecurityContext?.
Author by
GPService
Updated on December 30, 2022Comments
-
GPService over 1 year
-
jamesdlin almost 3 years1. Don't post screenshots of code and messages; those cannot be searched. 2. As shown by the error message,
HttpOverrides.createHttpClient
takes aSecurityContext?
, not aSecurityContext
.
-
-
Admin over 2 yearsAs it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.