(projectId string, documentId string)
| 97 | } |
| 98 | |
| 99 | func (c DuClient) createDigitizeStatusRequest(projectId string, documentId string) *network.HttpRequest { |
| 100 | uri := c.newUriBuilder("/api/framework/projects/{projectId}/digitization/result/{documentId}"). |
| 101 | FormatPath("projectId", projectId). |
| 102 | FormatPath("documentId", documentId). |
| 103 | AddQueryString("api-version", "1"). |
| 104 | Build() |
| 105 | return network.NewHttpGetRequest(uri, c.toAuthorization(c.token), http.Header{}) |
| 106 | } |
| 107 | |
| 108 | func (c DuClient) writeMultipartBody(bodyWriter *io.PipeWriter, stream stream.Stream, contentType string, cancel context.CancelCauseFunc) string { |
| 109 | formWriter := multipart.NewWriter(bodyWriter) |
no test coverage detected