Socket
Socket
Sign inDemoInstall

github.com/microsoft/kiota/http/go/nethttp

Package Overview
Dependencies
8
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/microsoft/kiota/http/go/nethttp

Package nethttplibrary implements the Kiota abstractions with net/http to execute the requests. It also provides a middleware infrastructure with some default middleware handlers like the retry handler and the redirect handler.


Version published

Readme

Source

To-do

Go

  • unit tests
  • move to its own repo and implement the guidelines to make referencing the module easier
  • add doc.go
  • rename module name, update reference and remove the replace directive

Using the net http implementation

  1. Navigate to the directory where go.mod is located for your project.

  2. Run the following command:

    go get github.com/microsoft/kiota/http/go/nethttp
    
  3. Add the following code

    httpAdapter, err := NewNetHttpRequestAdapter(authProvider)
    

FAQs

Last updated on 31 Mar 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc