How to implement HttpClient in plugin

Thursday, March 28, 2024 11:29:10 PM
  • Posted: Thursday, June 18, 2020 8:42 PM
  • 14
Hi.

How can I implement HTTPClient on the platform. Because when injecting the dependency in a custom plugin I get the error:
"Plugin has not been registered getRequiredService - dependency - {PluginType.FullName}"
0
  • Posted: Friday, June 19, 2020 5:25 AM
  • 953
Hi Steven,

Look at this chapter of docs: https://docs.grandnode.com/how-to-override-service-by-plugin. In the last part of the article, you can find info about the DependencyRegistrar. I suppose it should solve the problem.
Best regards,
Patryk

GrandNode Team
0
back to top
Filters