Changeset 74425 in vbox for trunk/include/iprt/cpp/restclient.h
- Timestamp:
- Sep 23, 2018 3:41:48 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cpp/restclient.h
r74414 r74425 46 46 public: 47 47 /** Default constructor. */ 48 RTCRestBinaryParameter() ;48 RTCRestBinaryParameter() RT_NOEXCEPT; 49 49 50 50 /** Safe copy assignment method. */ 51 virtual int assignCopy(RTCRestBinaryParameter const &a_rThat) ;51 virtual int assignCopy(RTCRestBinaryParameter const &a_rThat) RT_NOEXCEPT; 52 52 /** Safe copy assignment method. 53 53 * @note Resets callbacks and ASSUMES that @a a_cbData is the content length. */ 54 virtual int assignCopy(RTCRestBinary const &a_rThat) RT_ OVERRIDE;54 virtual int assignCopy(RTCRestBinary const &a_rThat) RT_NOEXCEPT RT_OVERRIDE; 55 55 /** Safe copy assignment method. 56 56 * @note Resets callbacks and ASSUMES that @a a_cbData is the content length. */ 57 virtual int assignCopy(void const *a_pvData, size_t a_cbData) RT_ OVERRIDE;57 virtual int assignCopy(void const *a_pvData, size_t a_cbData) RT_NOEXCEPT RT_OVERRIDE; 58 58 59 59 /** 60 60 * Use the specified data buffer directly. 61 61 * @note Resets callbacks and ASSUMES that @a a_cbData is the content length. */ 62 virtual int assignReadOnly(void const *a_pvData, size_t a_cbData) RT_ OVERRIDE;62 virtual int assignReadOnly(void const *a_pvData, size_t a_cbData) RT_NOEXCEPT RT_OVERRIDE; 63 63 /** 64 64 * Use the specified data buffer directly. 65 65 * @note This will assert and work like assignReadOnly. */ 66 virtual int assignWriteable(void *a_pvBuf, size_t a_cbBuf) RT_ OVERRIDE;66 virtual int assignWriteable(void *a_pvBuf, size_t a_cbBuf) RT_NOEXCEPT RT_OVERRIDE; 67 67 68 68 /** Make a clone of this object. */ 69 inline RTCRestBinaryParameter *clone() const { return (RTCRestBinaryParameter *)baseClone(); }69 inline RTCRestBinaryParameter *clone() const RT_NOEXCEPT { return (RTCRestBinaryParameter *)baseClone(); } 70 70 71 71 /* Overridden methods: */ 72 virtual RTCRestObjectBase *baseClone() const RT_ OVERRIDE;73 virtual int resetToDefault() RT_ OVERRIDE;74 virtual const char *typeName(void) const RT_ OVERRIDE;72 virtual RTCRestObjectBase *baseClone() const RT_NOEXCEPT RT_OVERRIDE; 73 virtual int resetToDefault() RT_NOEXCEPT RT_OVERRIDE; 74 virtual const char *typeName(void) const RT_NOEXCEPT RT_OVERRIDE; 75 75 76 76 /** Factory method. */ 77 static DECLCALLBACK(RTCRestObjectBase *) createInstance(void) ;77 static DECLCALLBACK(RTCRestObjectBase *) createInstance(void) RT_NOEXCEPT; 78 78 79 79 /** 80 80 * Retrieves the callback data. 81 81 */ 82 inline void *getCallbackData() const { return m_pvCallbackData; }82 inline void *getCallbackData() const RT_NOEXCEPT { return m_pvCallbackData; } 83 83 84 84 /** … … 89 89 * If NULL, no content type is set. 90 90 */ 91 int setContentType(const char *a_pszContentType) ;91 int setContentType(const char *a_pszContentType) RT_NOEXCEPT; 92 92 93 93 /** 94 94 * Gets the content type that was set. 95 95 */ 96 inline RTCString const &getContentType() const { return m_strContentType; }96 inline RTCString const &getContentType() const RT_NOEXCEPT { return m_strContentType; } 97 97 98 98 /** 99 99 * Gets the content-length value (UINT64_MAX if not available). 100 100 */ 101 inline uint64_t getContentLength() const { return m_cbContentLength; }101 inline uint64_t getContentLength() const RT_NOEXCEPT { return m_cbContentLength; } 102 102 103 103 /** … … 118 118 */ 119 119 typedef DECLCALLBACK(int) FNPRODUCER(RTCRestBinaryParameter *a_pThis, void *a_pvDst, size_t a_cbDst, 120 uint64_t a_offContent, size_t *a_pcbActual) ;120 uint64_t a_offContent, size_t *a_pcbActual) /*RT_NOEXCEPT*/; 121 121 /** Pointer to a byte producer callback. */ 122 122 typedef FNPRODUCER *PFNPRODUCER; … … 134 134 * @note This will drop any buffer previously registered using setUploadData(). 135 135 */ 136 void setProducerCallback(PFNPRODUCER a_pfnProducer, void *a_pvCallbackData = NULL, uint64_t a_cbContentLength = UINT64_MAX) ;136 void setProducerCallback(PFNPRODUCER a_pfnProducer, void *a_pvCallbackData = NULL, uint64_t a_cbContentLength = UINT64_MAX) RT_NOEXCEPT; 137 137 138 138 /** … … 143 143 * @internal 144 144 */ 145 virtual int xmitPrepare(RTHTTP a_hHttp) const ;145 virtual int xmitPrepare(RTHTTP a_hHttp) const RT_NOEXCEPT; 146 146 147 147 /** … … 151 151 * @internal 152 152 */ 153 virtual void xmitComplete(RTHTTP a_hHttp) const ;153 virtual void xmitComplete(RTHTTP a_hHttp) const RT_NOEXCEPT; 154 154 155 155 protected: … … 164 164 void *m_pvCallbackData; 165 165 166 /** Callback for use with RTHttpSetUploadCallback. */ 167 static FNRTHTTPUPLOADCALLBACK xmitHttpCallback; 166 /** @copydoc FNRTHTTPUPLOADCALLBACK */ 167 static DECLCALLBACK(int) xmitHttpCallback(RTHTTP hHttp, void *pvBuf, size_t cbBuf, uint64_t offContent, 168 size_t *pcbActual, void *pvUser) RT_NOEXCEPT; 168 169 169 170 private: … … 183 184 public: 184 185 /** Default constructor. */ 185 RTCRestBinaryResponse() ;186 RTCRestBinaryResponse() RT_NOEXCEPT; 186 187 187 188 /** Safe copy assignment method. */ 188 virtual int assignCopy(RTCRestBinaryResponse const &a_rThat) ;189 virtual int assignCopy(RTCRestBinaryResponse const &a_rThat) RT_NOEXCEPT; 189 190 /** Safe copy assignment method. */ 190 virtual int assignCopy(RTCRestBinary const &a_rThat) RT_ OVERRIDE;191 virtual int assignCopy(RTCRestBinary const &a_rThat) RT_NOEXCEPT RT_OVERRIDE; 191 192 /** Safe copy assignment method. 192 193 * @note This will assert and fail as it makes no sense for a download. */ 193 virtual int assignCopy(void const *a_pvData, size_t a_cbData) RT_ OVERRIDE;194 virtual int assignCopy(void const *a_pvData, size_t a_cbData) RT_NOEXCEPT RT_OVERRIDE; 194 195 195 196 /** … … 197 198 * @note This will assert and fail as it makes no sense for a download. 198 199 */ 199 virtual int assignReadOnly(void const *a_pvData, size_t a_cbData) RT_ OVERRIDE;200 virtual int assignReadOnly(void const *a_pvData, size_t a_cbData) RT_NOEXCEPT RT_OVERRIDE; 200 201 /** 201 202 * Use the specified data buffer directly. 202 203 * @note This will drop any previously registered producer callback and user data. 203 204 */ 204 virtual int assignWriteable(void *a_pvBuf, size_t a_cbBuf) RT_ OVERRIDE;205 virtual int assignWriteable(void *a_pvBuf, size_t a_cbBuf) RT_NOEXCEPT RT_OVERRIDE; 205 206 206 207 /** Make a clone of this object. */ 207 inline RTCRestBinaryResponse *clone() const { return (RTCRestBinaryResponse *)baseClone(); }208 inline RTCRestBinaryResponse *clone() const RT_NOEXCEPT { return (RTCRestBinaryResponse *)baseClone(); } 208 209 209 210 /* Overridden methods: */ 210 virtual RTCRestObjectBase *baseClone() const RT_ OVERRIDE;211 virtual int resetToDefault() RT_ OVERRIDE;212 virtual const char *typeName(void) const RT_ OVERRIDE;211 virtual RTCRestObjectBase *baseClone() const RT_NOEXCEPT RT_OVERRIDE; 212 virtual int resetToDefault() RT_NOEXCEPT RT_OVERRIDE; 213 virtual const char *typeName(void) const RT_NOEXCEPT RT_OVERRIDE; 213 214 214 215 /** Factory method. */ 215 static DECLCALLBACK(RTCRestObjectBase *) createInstance(void) ;216 static DECLCALLBACK(RTCRestObjectBase *) createInstance(void) RT_NOEXCEPT; 216 217 217 218 /** 218 219 * Retrieves the callback data. 219 220 */ 220 inline void *getCallbackData() const { return m_pvCallbackData; }221 inline void *getCallbackData() const RT_NOEXCEPT { return m_pvCallbackData; } 221 222 222 223 /** … … 230 231 * 32-bit hosts and 128MiB for 64-bit). 231 232 */ 232 void setMaxDownloadSize(size_t a_cbMaxDownload) ;233 void setMaxDownloadSize(size_t a_cbMaxDownload) RT_NOEXCEPT; 233 234 234 235 /** 235 236 * Gets the content-length value (UINT64_MAX if not available). 236 237 */ 237 inline uint64_t getContentLength() const { return m_cbContentLength; }238 inline uint64_t getContentLength() const RT_NOEXCEPT { return m_cbContentLength; } 238 239 239 240 /** … … 255 256 */ 256 257 typedef DECLCALLBACK(int) FNCONSUMER(RTCRestBinaryResponse *a_pThis, const void *a_pvSrc, size_t a_cbSrc, 257 uint32_t a_uHttpStatus, uint64_t a_offContent, uint64_t a_cbContent) ;258 uint32_t a_uHttpStatus, uint64_t a_offContent, uint64_t a_cbContent) /*RT_NOEXCEPT*/; 258 259 /** Pointer to a byte consumer callback. */ 259 260 typedef FNCONSUMER *PFNCONSUMER; … … 267 268 * using getCallbackData(). 268 269 */ 269 void setConsumerCallback(PFNCONSUMER a_pfnConsumer, void *a_pvCallbackData = NULL) ;270 void setConsumerCallback(PFNCONSUMER a_pfnConsumer, void *a_pvCallbackData = NULL) RT_NOEXCEPT; 270 271 271 272 /** … … 277 278 * @internal 278 279 */ 279 virtual int receivePrepare(RTHTTP a_hHttp, uint32_t a_fCallbackFlags) ;280 virtual int receivePrepare(RTHTTP a_hHttp, uint32_t a_fCallbackFlags) RT_NOEXCEPT; 280 281 281 282 /** … … 285 286 * @internal 286 287 */ 287 virtual void receiveComplete(RTHTTP a_hHttp) ;288 virtual void receiveComplete(RTHTTP a_hHttp) RT_NOEXCEPT; 288 289 289 290 protected: … … 300 301 size_t m_cbMaxDownload; 301 302 302 /** Callback for use with RTHttpSetDownloadCallback. */ 303 static FNRTHTTPDOWNLOADCALLBACK receiveHttpCallback; 303 /** @copydoc FNRTHTTPDOWNLOADCALLBACK. */ 304 static DECLCALLBACK(int) receiveHttpCallback(RTHTTP hHttp, void const *pvBuf, size_t cbBuf, uint32_t uHttpStatus, 305 uint64_t offContent, uint64_t cbContent, void *pvUser) RT_NOEXCEPT; 304 306 305 307 private: … … 331 333 { 332 334 public: 333 RTCRestClientRequestBase() ;335 RTCRestClientRequestBase() RT_NOEXCEPT; 334 336 virtual ~RTCRestClientRequestBase(); 335 RTCRestClientRequestBase(RTCRestClientRequestBase const &a_rThat) ;336 RTCRestClientRequestBase &operator=(RTCRestClientRequestBase const &a_rThat) ;337 RTCRestClientRequestBase(RTCRestClientRequestBase const &a_rThat) RT_NOEXCEPT; 338 RTCRestClientRequestBase &operator=(RTCRestClientRequestBase const &a_rThat) RT_NOEXCEPT; 337 339 338 340 /** … … 340 342 * @returns IPRT status code. 341 343 */ 342 virtual int resetToDefault() = 0;344 virtual int resetToDefault() RT_NOEXCEPT = 0; 343 345 344 346 /** … … 351 353 * @param a_pStrBody Where to set body parameters. 352 354 */ 353 virtual int xmitPrepare(RTCString *a_pStrPath, RTCString *a_pStrQuery, RTHTTP a_hHttp, RTCString *a_pStrBody) const = 0;355 virtual int xmitPrepare(RTCString *a_pStrPath, RTCString *a_pStrQuery, RTHTTP a_hHttp, RTCString *a_pStrBody) const RT_NOEXCEPT = 0; 354 356 355 357 /** … … 359 361 * @param a_hHttp The HTTP handle the request was performed on. 360 362 */ 361 virtual void xmitComplete(int a_rcStatus, RTHTTP a_hHttp) const = 0;363 virtual void xmitComplete(int a_rcStatus, RTHTTP a_hHttp) const RT_NOEXCEPT = 0; 362 364 363 365 /** 364 366 * Checks if there are were any assignment errors. 365 367 */ 366 inline bool hasAssignmentErrors() const { return m_fErrorSet != 0; }368 inline bool hasAssignmentErrors() const RT_NOEXCEPT { return m_fErrorSet != 0; } 367 369 368 370 protected: … … 400 402 */ 401 403 int doPathParameters(RTCString *a_pStrPath, const char *a_pszPathTemplate, size_t a_cchPathTemplate, 402 PATHPARAMDESC const *a_paPathParams, PATHPARAMSTATE *a_paPathParamStates, size_t a_cPathParams) const ;404 PATHPARAMDESC const *a_paPathParams, PATHPARAMSTATE *a_paPathParamStates, size_t a_cPathParams) const RT_NOEXCEPT; 403 405 404 406 /** Query parameter descriptor. */ … … 421 423 */ 422 424 int doQueryParameters(RTCString *a_pStrQuery, QUERYPARAMDESC const *a_paQueryParams, 423 RTCRestObjectBase const **a_papQueryParamObjs, size_t a_cQueryParams) const ;425 RTCRestObjectBase const **a_papQueryParamObjs, size_t a_cQueryParams) const RT_NOEXCEPT; 424 426 425 427 /** Header parameter descriptor. */ … … 443 445 */ 444 446 int doHeaderParameters(RTHTTP a_hHttp, HEADERPARAMDESC const *a_paHeaderParams, 445 RTCRestObjectBase const **a_papHeaderParamObjs, size_t a_cHeaderParams) const ;447 RTCRestObjectBase const **a_papHeaderParamObjs, size_t a_cHeaderParams) const RT_NOEXCEPT; 446 448 }; 447 449 … … 454 456 public: 455 457 /** Default constructor. */ 456 RTCRestClientResponseBase() ;458 RTCRestClientResponseBase() RT_NOEXCEPT; 457 459 /** Destructor. */ 458 460 virtual ~RTCRestClientResponseBase(); … … 465 467 * Resets the object state. 466 468 */ 467 virtual void reset(void) ;469 virtual void reset(void) RT_NOEXCEPT; 468 470 469 471 /** … … 477 479 * @param a_hHttp The HTTP handle to prepare for receiving. 478 480 */ 479 virtual int receivePrepare(RTHTTP a_hHttp) ;481 virtual int receivePrepare(RTHTTP a_hHttp) RT_NOEXCEPT; 480 482 481 483 /** … … 489 491 * @note Called before consumeBody() but after consumeHeader(). 490 492 */ 491 virtual void receiveComplete(int a_rcStatus, RTHTTP a_hHttp) ;493 virtual void receiveComplete(int a_rcStatus, RTHTTP a_hHttp) RT_NOEXCEPT; 492 494 493 495 /** … … 499 501 * @note Called after consumeHeader(). 500 502 */ 501 virtual void consumeBody(const char *a_pchData, size_t a_cbData) ;503 virtual void consumeBody(const char *a_pchData, size_t a_cbData) RT_NOEXCEPT; 502 504 503 505 /** … … 506 508 * @returns IPRT status code. 507 509 */ 508 virtual void receiveFinal() ;510 virtual void receiveFinal() RT_NOEXCEPT; 509 511 510 512 /** … … 512 514 * @returns Negative numbers are IPRT errors, positive are HTTP status codes. 513 515 */ 514 inline int getStatus() { return m_rcStatus; }516 inline int getStatus() const RT_NOEXCEPT { return m_rcStatus; } 515 517 516 518 /** … … 518 520 * @returns HTTP status code or VERR_NOT_AVAILABLE. 519 521 */ 520 inline int getHttpStatus() { return m_rcHttp; }522 inline int getHttpStatus() const RT_NOEXCEPT { return m_rcHttp; } 521 523 522 524 /** 523 525 * Getter for m_pErrInfo. 524 526 */ 525 inline PCRTERRINFO getErrInfo(void) const { return m_pErrInfo; }527 inline PCRTERRINFO getErrInfo(void) const RT_NOEXCEPT { return m_pErrInfo; } 526 528 527 529 /** 528 530 * Getter for m_strContentType. 529 531 */ 530 inline RTCString const &getContentType(void) const { return m_strContentType; }532 inline RTCString const &getContentType(void) const RT_NOEXCEPT { return m_strContentType; } 531 533 532 534 … … 541 543 RTCString m_strContentType; 542 544 543 PRTERRINFO getErrInfoInternal(void) ;544 void deleteErrInfo(void) ;545 void copyErrInfo(PCRTERRINFO pErrInfo) ;545 PRTERRINFO getErrInfoInternal(void) RT_NOEXCEPT; 546 void deleteErrInfo(void) RT_NOEXCEPT; 547 void copyErrInfo(PCRTERRINFO pErrInfo) RT_NOEXCEPT; 546 548 547 549 /** … … 556 558 * @param ... Message arguments. 557 559 */ 558 int addError(int a_rc, const char *a_pszFormat, ...) ;560 int addError(int a_rc, const char *a_pszFormat, ...) RT_NOEXCEPT; 559 561 560 562 /** … … 570 572 */ 571 573 int deserializeHeader(RTCRestObjectBase *a_pObj, const char *a_pchValue, size_t a_cchValue, 572 uint32_t a_fFlags, const char *a_pszErrorTag) ;574 uint32_t a_fFlags, const char *a_pszErrorTag) RT_NOEXCEPT; 573 575 574 576 /** … … 587 589 */ 588 590 int deserializeHeaderIntoMap(RTCRestStringMapBase *a_pMap, const char *a_pchField, size_t a_cchField, 589 const char *a_pchValue, size_t a_cchValue, uint32_t a_fFlags, const char *a_pszErrorTag) ;591 const char *a_pchValue, size_t a_cchValue, uint32_t a_fFlags, const char *a_pszErrorTag) RT_NOEXCEPT; 590 592 591 593 /** … … 597 599 * @param a_pszBodyName The name of the body parameter. 598 600 */ 599 void deserializeBody(const char *a_pchData, size_t a_cbData, const char *a_pszBodyName) ;601 void deserializeBody(const char *a_pchData, size_t a_cbData, const char *a_pszBodyName) RT_NOEXCEPT; 600 602 601 603 /** … … 604 606 * @param a_rCursor The JSON cursor. 605 607 */ 606 virtual void deserializeBodyFromJsonCursor(RTCRestJsonCursor const &a_rCursor) ;608 virtual void deserializeBodyFromJsonCursor(RTCRestJsonCursor const &a_rCursor) RT_NOEXCEPT; 607 609 608 610 /** … … 613 615 public: 614 616 RTCRestClientResponseBase *m_pThat; /**< Pointer to response object. */ 615 PrimaryJsonCursorForBody(RTJSONVAL hValue, const char *pszName, RTCRestClientResponseBase *a_pThat) ;616 virtual int addError(RTCRestJsonCursor const &a_rCursor, int a_rc, const char *a_pszFormat, ...) RT_ OVERRIDE;617 virtual int unknownField(RTCRestJsonCursor const &a_rCursor) RT_ OVERRIDE;617 PrimaryJsonCursorForBody(RTJSONVAL hValue, const char *pszName, RTCRestClientResponseBase *a_pThat) RT_NOEXCEPT; 618 virtual int addError(RTCRestJsonCursor const &a_rCursor, int a_rc, const char *a_pszFormat, ...) RT_NOEXCEPT RT_OVERRIDE; 619 virtual int unknownField(RTCRestJsonCursor const &a_rCursor) RT_NOEXCEPT RT_OVERRIDE; 618 620 }; 619 621 … … 634 636 */ 635 637 virtual int consumeHeader(uint32_t a_uMatchWord, const char *a_pchField, size_t a_cchField, 636 const char *a_pchValue, size_t a_cchValue) ;638 const char *a_pchValue, size_t a_cchValue) RT_NOEXCEPT; 637 639 638 640 private: 639 641 /** Callback for use with RTHttpSetHeaderCallback. */ 640 static FNRTHTTPHEADERCALLBACK receiveHttpHeaderCallback; 642 static DECLCALLBACK(int) receiveHttpHeaderCallback(RTHTTP hHttp, uint32_t uMatchWord, const char *pchField, size_t cchField, 643 const char *pchValue, size_t cchValue, void *pvUser) RT_NOEXCEPT; 641 644 }; 642 645 … … 648 651 { 649 652 public: 650 RTCRestClientApiBase() ;653 RTCRestClientApiBase() RT_NOEXCEPT; 651 654 virtual ~RTCRestClientApiBase(); 652 655 … … 656 659 * Gets the server URL. 657 660 */ 658 const char *getServerUrl(void) const ;661 const char *getServerUrl(void) const RT_NOEXCEPT; 659 662 660 663 /** … … 663 666 * @param a_pszUrl The new server URL. NULL/empty to reset to default. 664 667 */ 665 int setServerUrl(const char *a_pszUrl) ;668 int setServerUrl(const char *a_pszUrl) RT_NOEXCEPT; 666 669 667 670 /** … … 670 673 * @param a_pszScheme The new scheme. Does not accept NULL or empty string. 671 674 */ 672 int setServerScheme(const char *a_pszScheme) ;675 int setServerScheme(const char *a_pszScheme) RT_NOEXCEPT; 673 676 674 677 /** … … 677 680 * @param a_pszAuthority The new authority. Does not accept NULL or empty string. 678 681 */ 679 int setServerAuthority(const char *a_pszAuthority) ;682 int setServerAuthority(const char *a_pszAuthority) RT_NOEXCEPT; 680 683 681 684 /** … … 684 687 * @param a_pszBasePath The new base path. Does not accept NULL or empty string. 685 688 */ 686 int setServerBasePath(const char *a_pszBasePath) ;689 int setServerBasePath(const char *a_pszBasePath) RT_NOEXCEPT; 687 690 688 691 /** … … 690 693 * @returns Server URL. 691 694 */ 692 virtual const char *getDefaultServerUrl() const = 0;695 virtual const char *getDefaultServerUrl() const RT_NOEXCEPT = 0; 693 696 694 697 /** … … 696 699 * @returns Host string (start of URL). 697 700 */ 698 virtual const char *getDefaultServerBasePath() const = 0;701 virtual const char *getDefaultServerBasePath() const RT_NOEXCEPT = 0; 699 702 /** @} */ 700 703 … … 720 723 * @returns IPRT status code. 721 724 */ 722 virtual int reinitHttpInstance() ;725 virtual int reinitHttpInstance() RT_NOEXCEPT; 723 726 724 727 /** … … 735 738 */ 736 739 virtual int xmitReady(RTHTTP a_hHttp, RTCString const &a_rStrFullUrl, RTHTTPMETHOD a_enmHttpMethod, 737 RTCString const &a_rStrXmitBody, uint32_t a_fFlags) ;740 RTCString const &a_rStrXmitBody, uint32_t a_fFlags) RT_NOEXCEPT; 738 741 739 742 /** … … 748 751 */ 749 752 virtual int doCall(RTCRestClientRequestBase const &a_rRequest, RTHTTPMETHOD a_enmHttpMethod, 750 RTCRestClientResponseBase *a_pResponse, const char *a_pszMethod, uint32_t a_fFlags) ;753 RTCRestClientResponseBase *a_pResponse, const char *a_pszMethod, uint32_t a_fFlags) RT_NOEXCEPT; 751 754 752 755 /** … … 766 769 */ 767 770 int ociSignRequest(RTHTTP a_hHttp, RTCString const &a_rStrFullUrl, RTHTTPMETHOD a_enmHttpMethod, 768 RTCString const &a_rStrXmitBody, uint32_t a_fFlags, RTCRKEY a_hKey, RTCString const &a_rStrKeyId) ;771 RTCString const &a_rStrXmitBody, uint32_t a_fFlags, RTCRKEY a_hKey, RTCString const &a_rStrKeyId) RT_NOEXCEPT; 769 772 770 773 /** … … 778 781 * @param a_cchSrc The length of the new component. 779 782 */ 780 int setServerUrlPart(const char *a_pszServerUrl, size_t a_offDst, size_t a_cchDst, const char *a_pszSrc, size_t a_cchSrc) ;783 int setServerUrlPart(const char *a_pszServerUrl, size_t a_offDst, size_t a_cchDst, const char *a_pszSrc, size_t a_cchSrc) RT_NOEXCEPT; 781 784 }; 782 785
Note:
See TracChangeset
for help on using the changeset viewer.