jose 73 Posted March 19, 2015 Posted March 19, 2015 I am trying to learn how to develop a simple plugin. During this process i use the IHttpClient and the login class, after that i created a unit test but i need to be able to initialize the httpclient how can i do this?
ebr 16169 Posted March 20, 2015 Posted March 20, 2015 You don't create your own. Those are dependencies that are passed into the constructor of your server entry point. Dependency injection
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now