How to implement HttpClient in plugin

Monday, November 25, 2024 10:52:21 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