github.com/0chain/gosdk@v1.17.11/sdks/request.go (about)

     1  package sdks
     2  
     3  import (
     4  	"io"
     5  )
     6  
     7  // Request request payload
     8  type Request struct {
     9  
    10  	//AllocationID optional. allocation id
    11  	AllocationID string
    12  	//ConnectionID optional. session id
    13  	ConnectionID string
    14  
    15  	// ContentType content-type in header
    16  	ContentType string
    17  	// Body form data
    18  	Body io.Reader
    19  	// QueryString query string
    20  	QueryString map[string]string
    21  }