func (v *VDR) Accept(method string) bool {
	return v.accept(method)
}
Accept did method - attempt to resolve any method.
package httpbinding
import (
	"crypto/tls"
	"fmt"
	"io"
	"net/http"
	"net/url"
	"time"
	"github.com/hyperledger/aries-framework-go/pkg/common/log"
	"github.com/hyperledger/aries-framework-go/pkg/doc/did"
	vdrapi "github.com/hyperledger/aries-framework-go/pkg/framework/aries/api/vdr"
)
var logger = log.New("aries-framework/vdr/httpbinding")
type VDR struct {
	endpointURL      string
	client           *http.Client
	accept           Accept
	resolveAuthToken string
}
type Accept func(method string) bool
func New(endpointURL string, opts ...Option) (*VDR, error) {
	v := &VDR{client: &http.Client{}, accept: func(method string) bool { return true }}
	for _, opt := range opts {
		opt(v)
	}
	_, err := url.ParseRequestURI(endpointURL)
	if err != nil {
		return nil, fmt.Errorf("base URL invalid: %w", err)
	}
	v.endpointURL = endpointURL
	return v, nil
}