comparison Plugins/Engine/OrthancPlugins.cpp @ 3900:32e95d28efb2 transcoding

integration mainline->default
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 07 May 2020 12:37:36 +0200
parents 8f7ad4989fec fe0e4ef52a72
children f0dd5ded8927
comparison
equal deleted inserted replaced
3899:104e27133ebd 3900:32e95d28efb2
2730 client.SetMethod(HttpMethod_Get); 2730 client.SetMethod(HttpMethod_Get);
2731 break; 2731 break;
2732 2732
2733 case OrthancPluginHttpMethod_Post: 2733 case OrthancPluginHttpMethod_Post:
2734 client.SetMethod(HttpMethod_Post); 2734 client.SetMethod(HttpMethod_Post);
2735 client.GetBody().assign(reinterpret_cast<const char*>(parameters.body), parameters.bodySize);
2735 break; 2736 break;
2736 2737
2737 case OrthancPluginHttpMethod_Put: 2738 case OrthancPluginHttpMethod_Put:
2738 client.SetMethod(HttpMethod_Put); 2739 client.SetMethod(HttpMethod_Put);
2740 client.GetBody().assign(reinterpret_cast<const char*>(parameters.body), parameters.bodySize);
2739 break; 2741 break;
2740 2742
2741 case OrthancPluginHttpMethod_Delete: 2743 case OrthancPluginHttpMethod_Delete:
2742 client.SetMethod(HttpMethod_Delete); 2744 client.SetMethod(HttpMethod_Delete);
2743 break; 2745 break;