Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Network Layer Abstraction
Search
Swift India
February 29, 2020
Technology
0
170
Network Layer Abstraction
Swift India
February 29, 2020
Tweet
Share
More Decks by Swift India
See All by Swift India
Efficient JSON to Object Parsing
swiftindia
0
150
Sign In with Apple
swiftindia
0
140
Furlenco's AR Journey
swiftindia
0
130
Image processing using Core Image and Metal
swiftindia
0
220
Combine - Diving into Apple’s Reactive Programming
swiftindia
1
250
Social in Hotstar
swiftindia
0
260
Improving App Launch Time
swiftindia
1
120
Backend Driven UIs
swiftindia
0
140
Introduction to AsyncDisplayKit / Texture
swiftindia
0
160
Other Decks in Technology
See All in Technology
非CUDAの悲哀 〜Claude Code と挑んだ image to 3D “Hunyuan3D”を EVO-X2(Ryzen AI Max+395)で動作させるチャレンジ〜
hawkymisc
2
180
SREには開発組織全体で向き合う
koh_naga
0
220
LLM-Readyなデータ基盤を高速に構築するためのアジャイルデータモデリングの実例
kashira
0
250
チーリンについて
hirotomotaguchi
6
2k
[CMU-DB-2025FALL] Apache Fluss - A Streaming Storage for Real-Time Lakehouse
jark
0
120
re:Invent 2025 ふりかえり 生成AI版
takaakikakei
1
210
AI-DLCを現場にインストールしてみた:プロトタイプ開発で分かったこと・やめたこと
recruitengineers
PRO
2
120
Database イノベーショントークを振り返る/reinvent-2025-database-innovation-talk-recap
emiki
0
170
文字列の並び順 / Unicode Collation
tmtms
3
580
技術以外の世界に『越境』しエンジニアとして進化を遂げる 〜Kotlinへの愛とDevHRとしての挑戦を添えて〜
subroh0508
1
450
EM歴1年10ヶ月のぼくがぶち当たった苦悩とこれからへ向けて
maaaato
0
280
Lessons from Migrating to OpenSearch: Shard Design, Log Ingestion, and UI Decisions
sansantech
PRO
1
130
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.6k
Into the Great Unknown - MozCon
thekraken
40
2.2k
The Cult of Friendly URLs
andyhume
79
6.7k
Six Lessons from altMBA
skipperchong
29
4.1k
What's in a price? How to price your products and services
michaelherold
246
13k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Embracing the Ebb and Flow
colly
88
4.9k
A Modern Web Designer's Workflow
chriscoyier
698
190k
GraphQLとの向き合い方2022年版
quramy
50
14k
The Invisible Side of Design
smashingmag
302
51k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Unsuck your backbone
ammeep
671
58k
Transcript
Rakesh Chander - Comviva Technologies NETWORK LAYER ABSTRACTION • Interceptors
• Validators • Dependency Injection
Rakesh Chander - Comviva Technologies Problem Statement – Common Request
/ Response operations – Serialization / Deserialization – Bearer Token Management – End to End Encryption – Testable Code
Rakesh Chander - Comviva Technologies Unfolding – Common code templates
& patterns – Generics – Abstraction – Over-riding behavior – Dependency Injection
Rakesh Chander - Comviva Technologies Interceptors ▪ Interceptors are a
powerful mechanism that can pre-process or post-process a request
Rakesh Chander - Comviva Technologies Interceptors (Request Header Definition)
Rakesh Chander - Comviva Technologies Interceptors (Request Body Definition)
Rakesh Chander - Comviva Technologies Interceptors (Response Body Definition)
Rakesh Chander - Comviva Technologies Interceptors (Usage)
Rakesh Chander - Comviva Technologies Validators ▪ Serialization / Deserialization
▪ Fallback Mechanism ▪ Common Error Generation ▪ Bearer Token Management
Rakesh Chander - Comviva Technologies Adoption ▪ API call can
be declared using structs, its simple ▪ Implement Protocols for required Request Type viz GET, POST, PUT, DELETE etc
Rakesh Chander - Comviva Technologies Adoption (Overriding defaults)
Rakesh Chander - Comviva Technologies Adoption (Execution)
Rakesh Chander - Comviva Technologies Conclusion ▪ Increased Productivity ▪
Lesser error scenarios
Rakesh Chander - Comviva Technologies Dependency Injection ▪ Multiple Network
Clients ▪ Unit Tests
Rakesh Chander - Comviva Technologies Dependency Injection (Network Client Implementation)
Rakesh Chander - Comviva Technologies Dependency Injection (Network Client Mock)
Rakesh Chander - Comviva Technologies Summary Scalable, Maintainable, Reusable &
Testable Interceptors – Wrappers, Parsers, End to End Encryption Validators – Serialization/ Deserialization, Fallback Response DAO, Token Management
Rakesh Chander - Comviva Technologies Try It Out! ▪ https://github.com/rakeshchander/RCNetworkClient